mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
After changing the filter, scroll to the selected row
This commit is contained in:
parent
fab31075c7
commit
80263e1416
1 changed files with 6 additions and 1 deletions
|
@ -1340,7 +1340,12 @@ class Window (object):
|
|||
pass
|
||||
else:
|
||||
sel = self.log_view.get_selection ()
|
||||
sel.select_path ((select_index,))
|
||||
path = (select_index,)
|
||||
sel.select_path (path)
|
||||
|
||||
# FIXME: Instead of scrolling to the selected row, try to restore
|
||||
# the previous visible range.
|
||||
self.log_view.scroll_to_cell (path, use_align = True, row_align = .5)
|
||||
|
||||
def handle_window_delete_event (self, window, event):
|
||||
|
||||
|
|
Loading…
Reference in a new issue