Merge pull request #228

f41a842 Wizard: fix wrong wallet loaded in open from file (mochaccinuh)
This commit is contained in:
Riccardo Spagni 2016-12-09 00:05:49 +02:00
commit e38bd69dcc
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

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