Browse Source

Update installwizard init

283
BTChip 10 years ago
parent
commit
59e999d3a5
  1. 4
      plugins/btchipwallet.py

4
plugins/btchipwallet.py

@ -94,6 +94,10 @@ class Plugin(BasePlugin):
QMessageBox.information(self.window, _('Error'), _("BTChip device not detected.\nContinuing in watching-only mode."), _('OK')) QMessageBox.information(self.window, _('Error'), _("BTChip device not detected.\nContinuing in watching-only mode."), _('OK'))
self.wallet.force_watching_only = True self.wallet.force_watching_only = True
@hook
def installwizard_load_wallet(self, wallet, window):
self.load_wallet(wallet, window)
@hook @hook
def installwizard_restore(self, wizard, storage): def installwizard_restore(self, wizard, storage):
if storage.get('wallet_type') != 'btchip': if storage.get('wallet_type') != 'btchip':

Loading…
Cancel
Save