mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Fix a regression in 5.18 that broke editing/creating saved searches. Fixes #1929267 [Editing any 'Saved Seach' will result in an error](https://bugs.launchpad.net/calibre/+bug/1929267)
This commit is contained in:
parent
dfb86551f8
commit
bf9248ddea
@ -1046,7 +1046,7 @@ class SavedSearches(QWidget):
|
||||
|
||||
def stack_current_changed(self, index):
|
||||
visible = index == 0
|
||||
for x in ('eb', 'ab', 'rb', 'upb', 'dnb', 'd2', 'filter_text', 'cft', 'd3', 'ib', 'eb2'):
|
||||
for x in ('eb', 'ab', 'rb', 'upb', 'dnb', 'd2', 'filter_text', 'd3', 'ib', 'eb2'):
|
||||
getattr(self, x).setVisible(visible)
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user