diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-22 15:31:07 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-22 15:31:07 +0200 |
commit | 50cc0fca3b01f65fd2fe0707736160c92bc35f21 (patch) | |
tree | d61c036cdd33018423ee28858b157f9815f8470c /resources/qml/MessageInput.qml | |
parent | Show confirmation dialog when leaving a room via the context menu (diff) | |
download | nheko-50cc0fca3b01f65fd2fe0707736160c92bc35f21.tar.xz |
Fix emoji picker not connected to input
Diffstat (limited to '')
-rw-r--r-- | resources/qml/MessageInput.qml | 2 |
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(); }) |