mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
After load, select the first line
This commit is contained in:
parent
769a3d9d7c
commit
528c531f8b
1 changed files with 3 additions and 0 deletions
|
@ -1577,6 +1577,9 @@ class Window (object):
|
||||||
self.log_view.props.model = self.log_filter
|
self.log_view.props.model = self.log_filter
|
||||||
for feature in self.features:
|
for feature in self.features:
|
||||||
feature.handle_attach_log_file (self, self.log_file)
|
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
|
return False
|
||||||
|
|
||||||
gobject.idle_add (idle_set)
|
gobject.idle_add (idle_set)
|
||||||
|
|
Loading…
Reference in a new issue