aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-12-09 00:05:49 +0200
committerRiccardo Spagni <ric@spagni.net>2016-12-09 00:05:49 +0200
commite38bd69dcc55571cecd04ec983bc0ab837a44689 (patch)
tree50fbed2d01976f1905cea11addf977f56d80fa87
parent0c484ea42474742e1ce8c9203c7f3562a47fc909 (diff)
parentf41a84252553993c2c7e92109c0f5dbf0db1fea7 (diff)
downloadmonzero-gui-e38bd69dcc55571cecd04ec983bc0ab837a44689.tar.gz
monzero-gui-e38bd69dcc55571cecd04ec983bc0ab837a44689.tar.xz
monzero-gui-e38bd69dcc55571cecd04ec983bc0ab837a44689.zip
Merge pull request #228
f41a842 Wizard: fix wrong wallet loaded in open from file (mochaccinuh)
-rw-r--r--wizard/WizardMain.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml
index 16fb0d23..c57727e7 100644
--- a/wizard/WizardMain.qml
+++ b/wizard/WizardMain.qml
@@ -128,6 +128,11 @@ Rectangle {
function openOpenWalletPage() {
console.log("open wallet from file page");
+ if (typeof wizard.settings['wallet'] !== 'undefined') {
+ settings.wallet.destroy();
+ delete wizard.settings['wallet'];
+ }
+
wizard.openWalletFromFileClicked();
}