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

index 9fc507f..0f1edff 100755 (executable)
@@ -1577,6 +1577,9 @@ class Window (object):
             self.log_view.props.model = self.log_filter
             for feature in self.features:
                 feature.handle_attach_log_file (self, self.log_file)
+            if len (self.log_filter):
+                sel = self.log_view.get_selection ()
+                sel.select_path ((0,))
             return False
 
         gobject.idle_add (idle_set)