Update installwizard init

This commit is contained in:
BTChip 2015-08-13 23:28:36 +02:00
parent 1a9e768e31
commit 59e999d3a5
1 changed files with 4 additions and 0 deletions

View File

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