This commit is contained in:
Kovid Goyal 2023-04-21 19:58:59 +05:30
commit c021519f95
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -158,6 +158,8 @@ class AddAction(InterfaceAction):
db = self.gui.current_db.new_api
for book_id in ids:
db.add_extra_files(book_id, rmap)
self.gui.library_view.model().refresh_ids(ids,
current_row=self.gui.library_view.currentIndex().row())
def _add_formats(self, paths, ids):
if len(ids) > 1 and not question_dialog(