mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
Wizard: fix wrong wallet loaded in open from file
Wizard: move cleanup logic to WizardMain.qml Wizard: move cleanup logic to WizardMain.qml
This commit is contained in:
parent
26abdee5c4
commit
f41a842525
@ -128,6 +128,11 @@ Rectangle {
|
|||||||
|
|
||||||
function openOpenWalletPage() {
|
function openOpenWalletPage() {
|
||||||
console.log("open wallet from file page");
|
console.log("open wallet from file page");
|
||||||
|
if (typeof wizard.settings['wallet'] !== 'undefined') {
|
||||||
|
settings.wallet.destroy();
|
||||||
|
delete wizard.settings['wallet'];
|
||||||
|
}
|
||||||
|
|
||||||
wizard.openWalletFromFileClicked();
|
wizard.openWalletFromFileClicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user