aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-12-20 03:49:31 +0100
committerselsta <selsta@sent.at>2019-12-20 03:49:31 +0100
commit3528bcd6b59be97fa3d18f77f1df9f444ce07725 (patch)
tree7b95053fc064307ebc6ce24ea519675bee1b8d01
parent500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff)
downloadmonzero-gui-3528bcd6b59be97fa3d18f77f1df9f444ce07725.tar.gz
monzero-gui-3528bcd6b59be97fa3d18f77f1df9f444ce07725.tar.xz
monzero-gui-3528bcd6b59be97fa3d18f77f1df9f444ce07725.zip
main: show wizard init screen when no wallet is found
-rw-r--r--main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 997c3511..238ef3f7 100644
--- a/main.qml
+++ b/main.qml
@@ -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");
}