This commit is contained in:
Kovid Goyal 2023-04-25 11:03:33 +05:30
parent 1457f8ecc9
commit 82392bdd61
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -84,4 +84,5 @@ class ExtraFilesWatcher(QObject):
self.timer.stop()
def refresh_gui(self, book_ids):
self.gui.library_view.model().refresh_ids(frozenset(book_ids), current_row=self.gui.library_view.currentIndex().row())
lv = self.gui.library_view
lv.model().refresh_ids(frozenset(book_ids), current_row=lv.currentIndex().row())