Merge pull request #1795 from q234rty/remove-virtual-keyboard-check

Always allow sending messages by enter even with IMEs
pull/1825/head
DeepBlueV7.X 2 months ago committed by GitHub
commit cc4ace3c12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      resources/qml/MessageInput.qml

@ -173,7 +173,7 @@ Rectangle {
} else if (event.matches(StandardKey.InsertLineSeparator)) {
if (popup.opened)
popup.close();
if (Settings.invertEnterKey && (!Qt.inputMethod.visible || Qt.platform.os === "windows")) {
if (Settings.invertEnterKey) {
room.input.send();
event.accepted = true;
}
@ -195,7 +195,7 @@ Rectangle {
return;
}
}
if (!Settings.invertEnterKey && (!Qt.inputMethod.visible || Qt.platform.os === "windows")) {
if (!Settings.invertEnterKey) {
room.input.send();
event.accepted = true;
}

Loading…
Cancel
Save