How can I detect, from a plugin, when formats are added/removed from a selected book?
I detect when the selection is changed:
Code:
self.gui.library_view.selectionModel().selectionChanged.connect(self.update_info)
but if the current book is modified (by adding/removing some format) while the plugin is open, it is not updated until I change the selection. I tried connecting currentChanged, but that didn't work. Is there some other signal I can connect?