mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a03861c75a
commit
ae0e22bbd9
@ -516,6 +516,8 @@ class TagBrowserWidget(QWidget): # {{{
|
|||||||
self.search_button.setVisible(shown)
|
self.search_button.setVisible(shown)
|
||||||
self.item_search.setVisible(shown)
|
self.item_search.setVisible(shown)
|
||||||
self.alter_tb.setToolButtonStyle(Qt.ToolButtonIconOnly if shown else Qt.ToolButtonTextBesideIcon)
|
self.alter_tb.setToolButtonStyle(Qt.ToolButtonIconOnly if shown else Qt.ToolButtonTextBesideIcon)
|
||||||
|
if shown:
|
||||||
|
self.item_search.setFocus(Qt.OtherFocusReason)
|
||||||
|
|
||||||
def toggle_item(self):
|
def toggle_item(self):
|
||||||
self.tags_view.toggle_current_index()
|
self.tags_view.toggle_current_index()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user