View Single Post
Old 01-17-2025, 05:26 PM   #43
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by chaley View Post
The Refresh GUI action doesn't tell the tag browser to refresh the tree. To do that you must do
Code:
gui.tags_view.recount()
This uses a bigger hammer to do the tag browser reset and might work better in your situation. In particular, it works with external changes to the list of categories to show or hide. If you don't do that then the recount() will work and will be faster.
Code:
gui.tags_view.model().reset_tag_browser()
chaley is offline   Reply With Quote