updates for kivy wizard
This commit is contained in:
parent
5b38ce20ea
commit
2ae15c00e6
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue