Merge branch 'enter' into 'develop'
Add enter-based navigation to login dialog See merge request b0/spectral!44
This commit is contained in:
commit
6862be2eb0
|
@ -101,6 +101,8 @@ ApplicationWindow {
|
||||||
id: usernameField
|
id: usernameField
|
||||||
|
|
||||||
placeholderText: "Username"
|
placeholderText: "Username"
|
||||||
|
|
||||||
|
onAccepted: passwordField.forceActiveFocus()
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoTextField {
|
AutoTextField {
|
||||||
|
@ -110,6 +112,8 @@ ApplicationWindow {
|
||||||
|
|
||||||
placeholderText: "Password"
|
placeholderText: "Password"
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
|
|
||||||
|
onAccepted: loginDialog.doLogin()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue