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

View File

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