Add enter-based navigation to login dialog
This commit is contained in:
parent
0f21582752
commit
b1e87ee647
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue