kivy wizard: fix bug if password is not provided
This commit is contained in:
parent
126bbff948
commit
0fd108079d
|
@ -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):
|
||||
|
|
|
@ -70,6 +70,7 @@ Builder.load_string('''
|
|||
text: _('Cancel')
|
||||
on_release:
|
||||
popup.dismiss()
|
||||
popup.callback(None)
|
||||
''')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue