mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
fd4168c9ec
commit
ad5e243821
@ -378,7 +378,7 @@ class SearchBarButton(LayoutButton): # {{{
|
|||||||
gprefs['search bar visible'] = bool(self.isChecked())
|
gprefs['search bar visible'] = bool(self.isChecked())
|
||||||
|
|
||||||
def restore_state(self):
|
def restore_state(self):
|
||||||
self.setChecked(gprefs.get('search bar visible', True))
|
self.setChecked(bool(gprefs.get('search bar visible', True)))
|
||||||
|
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user