mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit metadata dialog: Save dialog state on reject as well as on accept
This commit is contained in:
parent
06004fca56
commit
a50b2e2dff
@ -845,7 +845,7 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog):
|
|||||||
if cf is not None and hasattr(cf, 'terminate'):
|
if cf is not None and hasattr(cf, 'terminate'):
|
||||||
cf.terminate()
|
cf.terminate()
|
||||||
cf.wait()
|
cf.wait()
|
||||||
|
self.save_state()
|
||||||
QDialog.reject(self, *args)
|
QDialog.reject(self, *args)
|
||||||
|
|
||||||
def read_state(self):
|
def read_state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user