Originally Posted by kovidgoyal
To fully update the GUI after adding new books you would need to do
db.data.books_added(book_ids)
self.gui.library_view.model().books_added(num)
self.gui.db_images.beginResetModel(), self.gui.db_images.endResetModel()
self.gui.tags_view.recount()
This updates all the various components of the GUI.
|