Focus password field by default on launch

master
Nate Graham 2021-12-09 20:24:47 -07:00 committed by Devin Lin
parent a3e18fe9e3
commit 94d3eb3c13
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ Kirigami.ScrollablePage {
Kirigami.FormData.label: i18nc("@label:textbox", "Password:")
enabled: !vm.busy
onAccepted: unlockAction.trigger()
Component.onCompleted: {
forceActiveFocus();
}
}
}
}