Commit 0dc53762 authored by Andrea Scarpino's avatar Andrea Scarpino

Set focus to password field

parent 958dc85c
......@@ -79,13 +79,14 @@ Page {
TextField {
id: username
width: parent.width
focus: true
focus: text.length === 0
placeholderText: qsTr("Username")
}
TextField {
id: password
width: parent.width
focus: username.text.length > 0 && text.length === 0
placeholderText: qsTr("Password")
echoMode: TextInput.Password
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment