When navigating with the bottom view, select the target line
authorRené Stadler <mail@renestadler.de>
Thu, 29 Nov 2007 09:16:34 +0000 (11:16 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:40 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/GUI.py

index 4d09dda5c9e77f27262cf2d818254c70db143faf..9fc507fbd0fb7d6de72e3d3c328c05ac3fe02fbf 100755 (executable)
@@ -1118,6 +1118,8 @@ class LineView (object):
         parent_index = line_model.parent_line_index (line_index)
         path = (parent_index,)
         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):