Add 'are your sure' check to quit when proceed_question is waiting.

This commit is contained in:
Jim Miller 2016-03-21 12:10:16 -05:00
parent 19c1d25c24
commit b051aa26ac

View File

@ -861,6 +861,12 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
if not question_dialog(self, _('Active jobs'), msg):
return False
if self.proceed_question.questions:
msg = _('There are library updates waiting. Are you sure you want to quit?')
if not question_dialog(self, _('Library Updates Waiting'), msg):
return False
from calibre.db.delete_service import has_jobs
if has_jobs():
msg = _('Some deleted books are still being moved to the Recycle '