mirror of
https://github.com/overte-org/overte.git
synced 2025-06-06 13:21:02 +02:00
Merge pull request #13512 from wayne-chen/passwordFieldLoginFix-case-14261
Hitting Enter Key in Password Field To Login
This commit is contained in:
commit
e2757e80ea
3 changed files with 6 additions and 0 deletions
|
@ -135,6 +135,8 @@ Item {
|
||||||
|
|
||||||
placeholderText: qsTr("Password")
|
placeholderText: qsTr("Password")
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
|
|
||||||
|
Keys.onReturnPressed: linkAccountBody.login()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,8 @@ Item {
|
||||||
root.text = "";
|
root.text = "";
|
||||||
root.isPassword = true;
|
root.isPassword = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onReturnPressed: linkAccountBody.login()
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox {
|
CheckBox {
|
||||||
|
|
|
@ -164,6 +164,8 @@ Item {
|
||||||
root.text = "";
|
root.text = "";
|
||||||
root.isPassword = focus
|
root.isPassword = focus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onReturnPressed: signupBody.signup()
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
|
|
Loading…
Reference in a new issue