This commit is contained in:
Kovid Goyal 2024-01-29 11:30:25 +05:30
parent f01474325e
commit 3fd6c7f915
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -271,6 +271,7 @@ class SearchBarButton(LayoutButton): # {{{
self.action_toggle.triggered.connect(self.toggle) self.action_toggle.triggered.connect(self.toggle)
self.action_toggle.changed.connect(self.update_shortcut) self.action_toggle.changed.connect(self.update_shortcut)
self.toggled.connect(self.update_state) self.toggled.connect(self.update_state)
self.update_shortcut()
@property @property
def is_visible(self): def is_visible(self):