Fix repainting in case of tag renaming exception

This commit is contained in:
RumovZ 2021-03-10 21:50:46 +01:00
parent bc7043c384
commit 8e9331e424

View File

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