updates for kivy wizard
This commit is contained in:
parent
5b38ce20ea
commit
2ae15c00e6
|
@ -430,7 +430,8 @@ class ElectrumWindow(App):
|
||||||
self.on_resume()
|
self.on_resume()
|
||||||
else:
|
else:
|
||||||
Logger.debug('Electrum: Wallet not found. Launching install wizard')
|
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)
|
wizard.bind(on_wizard_complete=self.on_wizard_complete)
|
||||||
action = wizard.storage.get_action()
|
action = wizard.storage.get_action()
|
||||||
wizard.run(action)
|
wizard.run(action)
|
||||||
|
|
|
@ -811,7 +811,7 @@ class InstallWizard(BaseWizard, Widget):
|
||||||
def confirm_password(self, pin, run_next):
|
def confirm_password(self, pin, run_next):
|
||||||
def callback(conf):
|
def callback(conf):
|
||||||
if conf == pin:
|
if conf == pin:
|
||||||
run_next(pin)
|
run_next(pin, False)
|
||||||
else:
|
else:
|
||||||
self.show_error(_('PIN mismatch'))
|
self.show_error(_('PIN mismatch'))
|
||||||
self.run('request_password', run_next)
|
self.run('request_password', run_next)
|
||||||
|
|
Loading…
Reference in New Issue