mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
...
This commit is contained in:
parent
a03861c75a
commit
ae0e22bbd9
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,8 @@ def update_search_state(self):
|
|||
self.search_button.setVisible(shown)
|
||||
self.item_search.setVisible(shown)
|
||||
self.alter_tb.setToolButtonStyle(Qt.ToolButtonIconOnly if shown else Qt.ToolButtonTextBesideIcon)
|
||||
if shown:
|
||||
self.item_search.setFocus(Qt.OtherFocusReason)
|
||||
|
||||
def toggle_item(self):
|
||||
self.tags_view.toggle_current_index()
|
||||
|
|
|
|||
Loading…
Reference in a new issue