aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}