1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-13 21:07:46 +00:00

Set default focus during setup process

This makes it way easier to quickly go through the setup process with a
keyboard!
This commit is contained in:
Joshua Goins 2025-05-05 16:20:50 -04:00
parent 0d8e807f87
commit 2d6e748036
4 changed files with 4 additions and 0 deletions

View file

@ -35,6 +35,7 @@ FormCard.FormCardPage {
id: usernameField id: usernameField
label: i18n("Username") label: i18n("Username")
focus: true
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
above: usernameField above: usernameField

View file

@ -52,6 +52,7 @@ FormCard.FormCardPage {
onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "BenchmarkInstallProgress"), { onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "BenchmarkInstallProgress"), {
benchmarkInstaller: LauncherCore.createBenchmarkInstaller(page.profile) benchmarkInstaller: LauncherCore.createBenchmarkInstaller(page.profile)
}) })
focus: true
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {

View file

@ -52,6 +52,7 @@ FormCard.FormCardPage {
onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "InstallProgress"), { onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "InstallProgress"), {
gameInstaller: LauncherCore.createInstaller(page.profile) gameInstaller: LauncherCore.createInstaller(page.profile)
}) })
focus: true
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {

View file

@ -105,6 +105,7 @@ FormCard.FormCardPage {
onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "InstallGame"), { onClicked: page.Window.window.pageStack.layers.push(Qt.createComponent("zone.xiv.astra", "InstallGame"), {
profile: page.profile profile: page.profile
}) })
focus: true
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {