Block lib change when proceed_question has questions.

This commit is contained in:
Jim Miller 2015-04-23 10:16:11 -05:00
parent a58329b6c0
commit 95fcee3424

View File

@ -604,5 +604,11 @@ class ChooseLibraryAction(InterfaceAction):
' are running.'), show=True)
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