Merge pull request #1252 from RumovZ/fix-tag-expand

Fix expanding/collapsing tags triggering refresh
This commit is contained in:
Damien Elmes 2021-06-27 18:45:29 +10:00 committed by GitHub
commit 8942677c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(