mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
Collapse tag browser categories when doing a filtered tag browser search as in *foo.
This commit is contained in:
@@ -642,6 +642,7 @@ class TagBrowserWidget(QFrame): # {{{
|
||||
txt = self.find_text
|
||||
|
||||
if txt.startswith('*'):
|
||||
self.tags_view.collapseAll()
|
||||
model.set_categories_filter(txt[1:])
|
||||
self.tags_view.recount()
|
||||
self.current_find_position = None
|
||||
|
||||
Reference in New Issue
Block a user