Merge branch 'enter' into 'develop'

Add enter-based navigation to login dialog

See merge request b0/spectral!44
This commit is contained in:
Black Hat 2019-03-08 00:19:25 +00:00
commit 6862be2eb0
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,8 @@ ApplicationWindow {
id: usernameField
placeholderText: "Username"
onAccepted: passwordField.forceActiveFocus()
}
AutoTextField {
@ -110,6 +112,8 @@ ApplicationWindow {
placeholderText: "Password"
echoMode: TextInput.Password
onAccepted: loginDialog.doLogin()
}
}