mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
865d0ed90e
commit
f48b926971
@ -1191,6 +1191,7 @@ class Boss(QObject):
|
||||
if not self.confirm_quit():
|
||||
return
|
||||
self.save_state()
|
||||
self.shutdown()
|
||||
QApplication.instance().quit()
|
||||
|
||||
def confirm_quit(self):
|
||||
@ -1240,7 +1241,6 @@ class Boss(QObject):
|
||||
QTimer.singleShot(50, self.check_terminal_save)
|
||||
return False
|
||||
|
||||
self.shutdown()
|
||||
return True
|
||||
|
||||
def check_terminal_save(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user