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
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ Rectangle {
return;
}
}
if (!Qt.inputMethod.visible) {
if (!Qt.inputMethod.visible || Qt.platform.os === "windows") {
room.input.send();
event.accepted = true;
}