mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Block lib change when proceed_question has questions.
This commit is contained in:
parent
a58329b6c0
commit
95fcee3424
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user