From 741ecc3cce2e616b2e78d3a3d551a361868265ac Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Jun 2022 08:30:11 +0530 Subject: [PATCH] Dont abort the quit if the in progress save finishes while the finish saving first popup is visible --- 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 ba8aeecdcf..bd5f99f6b0 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -1877,7 +1877,7 @@ class Boss(QObject): yes_text=_('Finish &saving first'), no_text=_('&Quit immediately')): if self.save_manager.has_tasks: self.start_terminal_save_indicator() - return False + return False if not self.confirm_quit(): return False