After changing the filter, scroll to the selected row
This commit is contained in:
parent
fab31075c7
commit
80263e1416
@ -1340,7 +1340,12 @@ class Window (object):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
sel = self.log_view.get_selection ()
|
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):
|
def handle_window_delete_event (self, window, event):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user