updates for kivy wizard

This commit is contained in:
ThomasV 2017-03-08 17:49:21 +01:00
parent 5b38ce20ea
commit 2ae15c00e6
2 changed files with 3 additions and 2 deletions

View File

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

View File

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