commit 0fd108079d95862bc0ce5454ae992ef5eb9ed3d9
parent 126bbff948840836b3113ebd0c31bc820e847618
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 26 Aug 2017 06:51:58 +0200
kivy wizard: fix bug if password is not provided
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/uix/dialogs/installwizard.py b/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):
diff --git a/gui/kivy/uix/dialogs/password_dialog.py b/gui/kivy/uix/dialogs/password_dialog.py
@@ -70,6 +70,7 @@ Builder.load_string('''
text: _('Cancel')
on_release:
popup.dismiss()
+ popup.callback(None)
''')