minor fixes

This commit is contained in:
ThomasV 2013-09-02 09:09:54 +02:00
parent e9b103b283
commit b22c42c4f4
1 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ class ElectrumWindow(QMainWindow):
storage = WalletStorage({'wallet_path': filename})
assert not storage.file_exists
wizard = installwizard.InstallWizard(self.config, self.wallet.interface, storage)
wizard = installwizard.InstallWizard(self.config, self.wallet.interface, self.wallet.verifier.blockchain, storage)
wallet = wizard.run()
if wallet:
self.load_wallet(wallet)
@ -387,7 +387,7 @@ class ElectrumWindow(QMainWindow):
new_wallet_action.triggered.connect(self.new_wallet)
wallet_backup = file_menu.addAction(_("&Copy"))
wallet_backup.triggered.connect(lambda: backup_wallet(self.config.path))
wallet_backup.triggered.connect(lambda: backup_wallet(self.wallet.storage.path))
quit_item = file_menu.addAction(_("&Close"))
quit_item.triggered.connect(self.close)