mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
1113565a4c
@ -436,8 +436,6 @@ class TagBrowserBar(QWidget): # {{{
|
|||||||
def update_searchbar_state(self):
|
def update_searchbar_state(self):
|
||||||
find_shown = self.toggle_search_button.isChecked()
|
find_shown = self.toggle_search_button.isChecked()
|
||||||
self.toggle_search_button.setVisible(not find_shown)
|
self.toggle_search_button.setVisible(not find_shown)
|
||||||
self.search_button.setVisible(find_shown)
|
|
||||||
self.item_search.setVisible(find_shown)
|
|
||||||
l = self.layout()
|
l = self.layout()
|
||||||
items = [l.itemAt(i) for i in range(l.count())]
|
items = [l.itemAt(i) for i in range(l.count())]
|
||||||
tuple(map(l.removeItem, items))
|
tuple(map(l.removeItem, items))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user