Merge pull request #1186 from q234rty/patch-1

Fix "Send by enter" on Windows
This commit is contained in:
DeepBlueV7.X 2022-09-16 16:43:49 +00:00 committed by GitHub
commit ef2ec6d3e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }