From f48b92697123332d9188af4a3a4025e50027041e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 15 Feb 2014 11:22:58 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 98ca3a3684..2a90573db4 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -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):