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(); }