mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Merge pull request #1186 from q234rty/patch-1
Fix "Send by enter" on Windows
This commit is contained in:
commit
ef2ec6d3e7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue