Sync show-timeline action state before connecting signal handler
This commit is contained in:
parent
8b6e0d193f
commit
04d90a4e38
@ -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…
x
Reference in New Issue
Block a user