Merge branch 'libchangeproceed' of https://github.com/JimmXinu/calibre

This commit is contained in:
Kovid Goyal 2015-04-23 23:39:03 +05:30
commit c8aeef0290

View File

@ -604,5 +604,11 @@ class ChooseLibraryAction(InterfaceAction):
' are running.'), show=True) ' are running.'), show=True)
return False return False
if self.gui.proceed_question.questions:
warning_dialog(self.gui, _('Not allowed'),
_('You cannot change libraries until all'
' updates are accepted or rejected.'), show=True)
return False
return True return True