mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 12:38:46 +02:00
Merge pull request #11580 from ElderOrb/case8210
8210 Keyboard Input Field: Pressing Space should Clear Field
This commit is contained in:
commit
30d6c78e4e
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ Rectangle {
|
|||
selectByMouse: false
|
||||
|
||||
Keys.onPressed: {
|
||||
if (event.key == Qt.Key_Return) {
|
||||
if (event.key == Qt.Key_Return || event.key == Qt.Key_Space) {
|
||||
mirrorText.text = "";
|
||||
event.accepted = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue