mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
When navigating with the bottom view, select the target line
This commit is contained in:
parent
ea08ca6805
commit
7032df7e73
1 changed files with 2 additions and 0 deletions
|
@ -1118,6 +1118,8 @@ class LineView (object):
|
||||||
parent_index = line_model.parent_line_index (line_index)
|
parent_index = line_model.parent_line_index (line_index)
|
||||||
path = (parent_index,)
|
path = (parent_index,)
|
||||||
self.log_view.scroll_to_cell (path, use_align = True, row_align = .5)
|
self.log_view.scroll_to_cell (path, use_align = True, row_align = .5)
|
||||||
|
sel = self.log_view.get_selection ()
|
||||||
|
sel.select_path (path)
|
||||||
|
|
||||||
def handle_log_view_notify_model (self, view, gparam):
|
def handle_log_view_notify_model (self, view, gparam):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue