X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=gui%2Fqt%2Finstallwizard.py;h=f3b30a42c6421d0d77dc5550bb18342cfcbf3f99;hb=3cbe11a42473af52e7c5e002c36aaaf32646f627;hp=06f7190c26e73bfb6d1cdf68ce78ffd3f210a168;hpb=295a71173c8979035aedcfcf9fb0be2224420d5a;p=electrum-nvc.git diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 06f7190..f3b30a4 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -2,10 +2,10 @@ from PyQt4.QtGui import * from PyQt4.QtCore import * import PyQt4.QtCore as QtCore -from electrum.i18n import _ -from electrum import Wallet, Wallet_2of2, Wallet_2of3 -from electrum import bitcoin -from electrum import util +from electrum_nvc.i18n import _ +from electrum_nvc import Wallet, Wallet_2of2, Wallet_2of3 +from electrum_nvc import bitcoin +from electrum_nvc import util import seed_dialog from network_dialog import NetworkDialog @@ -14,10 +14,10 @@ from amountedit import AmountEdit import sys import threading -from electrum.plugins import run_hook +from electrum_nvc.plugins import run_hook -MSG_ENTER_ANYTHING = _("Please enter a wallet seed, a master public key, a list of Bitcoin addresses, or a list of private keys") +MSG_ENTER_ANYTHING = _("Please enter a wallet seed, a master public key, a list of Novacoin addresses, or a list of private keys") MSG_SHOW_MPK = _("This is your master public key") MSG_ENTER_MPK = _("Please enter your master public key") MSG_ENTER_COLD_MPK = _("Please enter the master public key of your cosigner wallet") @@ -546,6 +546,8 @@ class InstallWizard(QDialog): else: wallet = run_hook('installwizard_restore', self, self.storage) + if not wallet: + return # create first keys offline self.waiting_dialog(wallet.synchronize)