mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-11 12:37:46 +00:00
Don't allow going back during initial setup
I forgot to remove this when copying the logic from somewhere else. It was possible to hit the back button during the initial setup which ends up making the window completely empty.
This commit is contained in:
parent
3e4c8f2c87
commit
3ef4806e36
1 changed files with 2 additions and 2 deletions
|
@ -67,13 +67,13 @@ Kirigami.ApplicationWindow {
|
|||
});
|
||||
} else {
|
||||
// They have no pre-existing accounts, and should be shoved into the new account page
|
||||
pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "AddSquareEnix"), {
|
||||
pageStack.push(Qt.createComponent("zone.xiv.astra", "AddSquareEnix"), {
|
||||
profile: LauncherCore.currentProfile
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (LauncherCore.autoLoginProfile && !checkedAutoLogin) {
|
||||
pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "AutoLoginPage"))
|
||||
pageStack.push(Qt.createComponent("zone.xiv.astra", "AutoLoginPage"))
|
||||
checkedAutoLogin = true;
|
||||
} else {
|
||||
pageStack.push(Qt.createComponent("zone.xiv.astra", "MainPage"))
|
||||
|
|
Loading…
Add table
Reference in a new issue