Why are you using SizePersistedDialog? For dialogs in the editor use calibre.gui2.tweak_books.widgets.Dialog
That remember its size automatically and has various other conveniences as well.
SizePersistedDialog is something local to the plugin updater code and likely uses a config file that the main calibre program owns, which is why you will see that behavior.
|