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.reset()
self.gui.tags_view.recount()
This updates all the various components of the GUI.
Last edited by kovidgoyal; 07-15-2014 at 10:34 PM.
|