mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Rest of fix for small transient window visible during calibre startup when the tag browser find bar is shown
This commit is contained in:
parent
f25c51c3cd
commit
2332d8a641
@ -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