summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-03-20 17:21:59 +0100
committerMalte E <malte.e@mailbox.org>2022-03-20 17:21:59 +0100
commit548063d303a97b6af159a5afa59c4efe274d7fae (patch)
treee6527b5f1c1bdcf6a88e0d8ac415835b999ce51b /resources
parentmake completer work with input method (diff)
downloadnheko-548063d303a97b6af159a5afa59c4efe274d7fae.tar.xz
attempt to include preeditText in search string
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MessageInput.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml
index 34f35973..b95d4769 100644
--- a/resources/qml/MessageInput.qml
+++ b/resources/qml/MessageInput.qml
@@ -124,7 +124,7 @@ Rectangle {
                     completerTriggeredAt = pos;
                     completer.completerName = type;
                     popup.open();
-                    completer.completer.setSearchString(messageInput.getText(completerTriggeredAt, cursorPosition));
+                    completer.completer.setSearchString(messageInput.getText(completerTriggeredAt, cursorPosition)+messageInput.preeditText);
                 }
 
                 function positionCursorAtEnd() {