mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Sync show-timeline action state before connecting signal handler
This commit is contained in:
parent
8b6e0d193f
commit
04d90a4e38
1 changed files with 1 additions and 1 deletions
|
@ -869,8 +869,8 @@ class TimelineFeature (FeatureBase):
|
|||
|
||||
handler = self.handle_show_action_toggled
|
||||
action = self.action_group.get_action ("show-timeline")
|
||||
action.connect ("toggled", handler)
|
||||
action.props.active = self.state.shown
|
||||
action.connect ("toggled", handler)
|
||||
|
||||
def handle_show_action_toggled (self, action):
|
||||
|
||||
|
|
Loading…
Reference in a new issue