Fix repainting in case of tag renaming exception
This commit is contained in:
parent
bc7043c384
commit
8e9331e424
@ -1178,6 +1178,7 @@ class SidebarTreeView(QTreeView):
|
||||
return self.col.tags.rename(old_name, new_name)
|
||||
|
||||
def on_done(fut: Future) -> None:
|
||||
self.setUpdatesEnabled(True)
|
||||
self.mw.requireReset(reason=ResetReason.BrowserAddTags, context=self)
|
||||
self.browser.model.endReset()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user