From 72146c4b22ca7e4c5f2c7d564126ae095b740648 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Thu, 24 Jun 2021 17:27:53 +0200 Subject: [PATCH] Fix expanding/collapsing tags triggering refresh --- qt/aqt/browser/sidebar/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/browser/sidebar/tree.py b/qt/aqt/browser/sidebar/tree.py index beae6cb95..765127332 100644 --- a/qt/aqt/browser/sidebar/tree.py +++ b/qt/aqt/browser/sidebar/tree.py @@ -688,7 +688,7 @@ class SidebarTreeView(QTreeView): full_name = head + node.name return lambda expanded: set_tag_collapsed( parent=self, tag=full_name, collapsed=not expanded - ).run_in_background() + ).run_in_background(initiator=self) for node in nodes: item = SidebarItem(