diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml index 446d7720..1d1e868f 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(); }