native: login screen make enter work
This commit is contained in:
parent
067402a0fd
commit
b1f2f6507e
1 changed files with 10 additions and 6 deletions
|
@ -46,6 +46,8 @@ Rectangle {
|
||||||
|
|
||||||
placeholderText: qsTr("Name")
|
placeholderText: qsTr("Name")
|
||||||
|
|
||||||
|
Keys.onReturnPressed: passwordField.focus = true
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TextField {
|
TextField {
|
||||||
|
@ -58,6 +60,8 @@ Rectangle {
|
||||||
|
|
||||||
placeholderText: qsTr("Password")
|
placeholderText: qsTr("Password")
|
||||||
|
|
||||||
|
Keys.onReturnPressed: login()
|
||||||
|
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue