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
1 changed files with 2 additions and 1 deletions

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