If you want to refresh the view - you need to be looking at code for the view object - i.e. self.gui.library_view. You also need to remember to refresh the tag browser as well. So if you are adding books, it is something like:
self.gui.library_view.model().books_added(num)
self.gui.tags_view.recount()
And there is also a call you can do for model().books_deleted() as well.
|