1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-27 00:53:43 +01:00

main: show wizard init screen when no wallet is found

This commit is contained in:
selsta 2019-12-20 03:49:31 +01:00
parent 500c7ec82e
commit 3528bcd6b5
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -1313,10 +1313,11 @@ ApplicationWindow {
}
} else console.log("qrScannerEnabled disabled");
wizard.wizardState = "wizardHome";
if(!walletsFound()) {
wizard.wizardState = "wizardLanguage";
rootItem.state = "wizard"
} else {
wizard.wizardState = "wizardHome";
rootItem.state = "normal"
openWallet("wizard");
}