kivy wizard: fix bug if password is not provided
This commit is contained in:
@@ -808,7 +808,7 @@ class InstallWizard(BaseWizard, Widget):
|
|||||||
if pin:
|
if pin:
|
||||||
self.run('confirm_password', pin, run_next)
|
self.run('confirm_password', pin, run_next)
|
||||||
else:
|
else:
|
||||||
run_next(None)
|
run_next(None, None)
|
||||||
self.password_dialog('Choose a PIN code', callback)
|
self.password_dialog('Choose a PIN code', callback)
|
||||||
|
|
||||||
def confirm_password(self, pin, run_next):
|
def confirm_password(self, pin, run_next):
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ Builder.load_string('''
|
|||||||
text: _('Cancel')
|
text: _('Cancel')
|
||||||
on_release:
|
on_release:
|
||||||
popup.dismiss()
|
popup.dismiss()
|
||||||
|
popup.callback(None)
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user