summary refs log tree commit diff
path: root/resources/qml/MessageInput.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-22 15:31:07 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-22 15:31:07 +0200
commit50cc0fca3b01f65fd2fe0707736160c92bc35f21 (patch)
treed61c036cdd33018423ee28858b157f9815f8470c /resources/qml/MessageInput.qml
parentShow confirmation dialog when leaving a room via the context menu (diff)
downloadnheko-50cc0fca3b01f65fd2fe0707736160c92bc35f21.tar.xz
Fix emoji picker not connected to input
Diffstat (limited to '')
-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 c135aff9..58d71a4e 100644
--- a/resources/qml/MessageInput.qml
+++ b/resources/qml/MessageInput.qml
@@ -355,7 +355,7 @@ Rectangle {
             image: ":/icons/icons/ui/smile.png"
             ToolTip.visible: hovered
             ToolTip.text: qsTr("Emoji")
-            onClicked: emojiPopup.visible ? emojiPopup.close() : emojiPopup.show(function(emoji) {
+            onClicked: emojiPopup.visible ? emojiPopup.close() : emojiPopup.show(emojiButton, function(emoji) {
                 messageInput.insert(messageInput.cursorPosition, emoji);
                 TimelineManager.focusMessageInput();
             })