Clean up the tag browser when removing specific formats from books.

This commit is contained in:
Charles Haley 2024-06-18 12:34:51 +01:00
parent 777098fec4
commit c0eb451395

View File

@ -149,6 +149,7 @@ class DeleteAction(InterfaceActionWithLibraryDrop):
self.gui.library_view.model().refresh_ids(ids)
self.gui.library_view.model().current_changed(self.gui.library_view.currentIndex(),
self.gui.library_view.currentIndex())
self.gui.tags_view.recount()
def remove_format_by_id(self, book_id, fmt):
title = self.gui.current_db.title(book_id, index_is_id=True)