This commit is contained in:
Kovid Goyal 2016-03-21 22:53:35 +05:30
commit aefc7fa751

View File

@ -861,6 +861,12 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
if not question_dialog(self, _('Active jobs'), msg): if not question_dialog(self, _('Active jobs'), msg):
return False 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 from calibre.db.delete_service import has_jobs
if has_jobs(): if has_jobs():
msg = _('Some deleted books are still being moved to the Recycle ' msg = _('Some deleted books are still being moved to the Recycle '