kivy wizard: fix bug if password is not provided

This commit is contained in:
ThomasV 2017-08-26 06:51:58 +02:00
parent 126bbff948
commit 0fd108079d
2 changed files with 2 additions and 1 deletions

View File

@ -808,7 +808,7 @@ class InstallWizard(BaseWizard, Widget):
if pin:
self.run('confirm_password', pin, run_next)
else:
run_next(None)
run_next(None, None)
self.password_dialog('Choose a PIN code', callback)
def confirm_password(self, pin, run_next):

View File

@ -70,6 +70,7 @@ Builder.load_string('''
text: _('Cancel')
on_release:
popup.dismiss()
popup.callback(None)
''')