kiwidude: Found an obscure bug for you:
When you clear the plugin's library settings, it warns that you should restart and offers an 'OK' and a 'Restart' button. But it restarts whichever button you click.
Looks like the PrefsViewerDialog._clear_settings() method is setting a do_restart flag, but not checking it:
Code:
.......
d.do_restart = False
def rf():
d.do_restart = True
b.clicked.connect(rf)
d.set_details('')
d.exec_()
b.clicked.disconnect()
self.close()
self.gui.quit(restart=True)