parent
aeba272ae4
commit
5c3aee481b
|
@ -212,8 +212,7 @@ QtObject {
|
||||||
onBackClicked: {
|
onBackClicked: {
|
||||||
if (state === "importseed") {
|
if (state === "importseed") {
|
||||||
state = "getkeys";
|
state = "getkeys";
|
||||||
} else if (((root.keysMainSetState === "connectkeys") && (LoginStore.currentAccount.username !== ""))
|
} else if ((root.keysMainSetState === "connectkeys" && LoginStore.currentAccount.username !== "") || root.prevState === "LogIn") {
|
||||||
|| (root.prevState === "LogIn") || (state === "getkeys")) {
|
|
||||||
Global.applicationWindow.navigateTo("LogIn");
|
Global.applicationWindow.navigateTo("LogIn");
|
||||||
} else {
|
} else {
|
||||||
Global.applicationWindow.navigateTo("Welcome");
|
Global.applicationWindow.navigateTo("Welcome");
|
||||||
|
|
Loading…
Reference in New Issue