mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Collapse tag browser categories when doing a filtered tag browser search as in *foo.
This commit is contained in:
parent
a1a27fe58f
commit
15746713f7
@ -642,6 +642,7 @@ class TagBrowserWidget(QFrame): # {{{
|
|||||||
txt = self.find_text
|
txt = self.find_text
|
||||||
|
|
||||||
if txt.startswith('*'):
|
if txt.startswith('*'):
|
||||||
|
self.tags_view.collapseAll()
|
||||||
model.set_categories_filter(txt[1:])
|
model.set_categories_filter(txt[1:])
|
||||||
self.tags_view.recount()
|
self.tags_view.recount()
|
||||||
self.current_find_position = None
|
self.current_find_position = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user