commit 2ae15c00e6a2e68938bc94628ffe22125b74f372
parent 5b38ce20ea9cfe71a123ed4366f3bff8060b3673
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 8 Mar 2017 17:49:21 +0100
updates for kivy wizard
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
@@ -430,7 +430,8 @@ class ElectrumWindow(App):
self.on_resume()
else:
Logger.debug('Electrum: Wallet not found. Launching install wizard')
- wizard = Factory.InstallWizard(self.electrum_config, path)
+ storage = WalletStorage(path)
+ wizard = Factory.InstallWizard(self.electrum_config, storage)
wizard.bind(on_wizard_complete=self.on_wizard_complete)
action = wizard.storage.get_action()
wizard.run(action)
diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py
@@ -811,7 +811,7 @@ class InstallWizard(BaseWizard, Widget):
def confirm_password(self, pin, run_next):
def callback(conf):
if conf == pin:
- run_next(pin)
+ run_next(pin, False)
else:
self.show_error(_('PIN mismatch'))
self.run('request_password', run_next)