mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
When navigating with the timeline, select the line in the center of the view
This commit is contained in:
parent
7032df7e73
commit
769a3d9d7c
1 changed files with 4 additions and 1 deletions
|
@ -809,7 +809,10 @@ class TimelineFeature (FeatureBase):
|
|||
|
||||
model = self.log_view.props.model
|
||||
row = model[count]
|
||||
self.log_view.scroll_to_cell ((count,), use_align = True, row_align = .5)
|
||||
path = (count,)
|
||||
self.log_view.scroll_to_cell (path, use_align = True, row_align = .5)
|
||||
sel = self.log_view.get_selection ()
|
||||
sel.select_path (path)
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue