Browse Source

kivy wizard: fix bug if password is not provided

seed_v14
ThomasV 7 years ago
parent
commit
0fd108079d
  1. 2
      gui/kivy/uix/dialogs/installwizard.py
  2. 1
      gui/kivy/uix/dialogs/password_dialog.py

2
gui/kivy/uix/dialogs/installwizard.py

@ -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):

1
gui/kivy/uix/dialogs/password_dialog.py

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

Loading…
Cancel
Save