commit 053c045adf1f26db059adc244d6b7aa97e292604
parent 6ca699459a0971946380bee34f0e4bbb85accd97
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 6 Mar 2016 13:23:31 +0100
fix password dialog
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py
@@ -144,7 +144,8 @@ class InstallWizard(Widget):
def enter_pin(self, seed):
def callback(pin):
self.run('confirm_pin', (seed, pin))
- popup = PasswordDialog('Choose a PIN code', callback)
+ popup = PasswordDialog()
+ popup.init('Choose a PIN code', callback)
popup.open()
def confirm_pin(self, seed, pin):
@@ -154,7 +155,8 @@ class InstallWizard(Widget):
else:
app.show_error(_('PIN mismatch'), duration=.5)
self.run('enter_pin', (seed,))
- popup = PasswordDialog('Confirm your PIN code', callback)
+ popup = PasswordDialog()
+ popup.init('Confirm your PIN code', callback)
popup.open()
def terminate(self):