Merge pull request #1186 from q234rty/patch-1
Fix "Send by enter" on Windows
This commit is contained in:
commit
ef2ec6d3e7
|
@ -223,7 +223,7 @@ Rectangle {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!Qt.inputMethod.visible) {
|
if (!Qt.inputMethod.visible || Qt.platform.os === "windows") {
|
||||||
room.input.send();
|
room.input.send();
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue