Make related change entries selectable
The default for _selectable in the Pile class was switched to False with https://github.com/urwid/urwid/pull/367 commit 018509d, so explicitly set our change entries selectable in order to allow them to be navigated by keyboard with urwid 2.1.0 and later. Change-Id: I31f3d62475ec2e8a10e7a553426412ad6aa43f8f
This commit is contained in:
parent
9ddbebd2cb
commit
8888457f32
|
@ -641,10 +641,13 @@ class ChangeView(urwid.WidgetWrap):
|
|||
self.commit_message = CommitMessageBox(app, u'')
|
||||
votes = mywid.Table([])
|
||||
self.depends_on = urwid.Pile([])
|
||||
self.depends_on._selectable = True
|
||||
self.depends_on_rows = {}
|
||||
self.needed_by = urwid.Pile([])
|
||||
self.needed_by._selectable = True
|
||||
self.needed_by_rows = {}
|
||||
self.conflicts_with = urwid.Pile([])
|
||||
self.conflicts_with._selectable = True
|
||||
self.conflicts_with_rows = {}
|
||||
self.related_changes = urwid.Pile([self.depends_on, self.needed_by, self.conflicts_with])
|
||||
self.results = mywid.HyperText(u'') # because it scrolls better than a table
|
||||
|
|
Loading…
Reference in New Issue