native: login screen make enter work

This commit is contained in:
jopejoe1 2024-07-11 11:47:46 +02:00
parent 067402a0fd
commit b1f2f6507e

View file

@ -46,6 +46,8 @@ Rectangle {
placeholderText: qsTr("Name")
Keys.onReturnPressed: passwordField.focus = true
}
TextField {
@ -58,6 +60,8 @@ Rectangle {
placeholderText: qsTr("Password")
Keys.onReturnPressed: login()
echoMode: TextInput.Password
}