Make the tag mapper refresh the tags view if something changed.

This commit is contained in:
Charles Haley 2020-06-03 20:16:02 +01:00
parent f532b6f598
commit c2401e3d70

View File

@ -58,3 +58,4 @@ class TagMapAction(InterfaceAction):
if changed_tag_map: if changed_tag_map:
db.set_field('tags', changed_tag_map) db.set_field('tags', changed_tag_map)
self.gui.library_view.model().refresh_ids(tuple(changed_tag_map), current_row=self.gui.library_view.currentIndex().row()) self.gui.library_view.model().refresh_ids(tuple(changed_tag_map), current_row=self.gui.library_view.currentIndex().row())
self.gui.tags_view.recount()