mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
adding enter key event for logging in in pw textfield
This commit is contained in:
parent
fa29bb537f
commit
2c32dc1cf5
2 changed files with 4 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 {
|
||||||
|
|
Loading…
Reference in a new issue