summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-10-08 22:10:50 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-03-19 21:55:01 +0200
commit5608c3998df99c9ea075c58f0f45fb23617ec2ed (patch)
tree4cf77a6923fe69afef48800a219360a1a21ecec8 /indra/llui/lltexteditor.cpp
parent28638b31af625e59914e215af1cf7b0ad40b3fb6 (diff)
viewer#2270 The "More" button does not close the "Choose emoji" floater
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 3537c764b9..6c59ed0fd9 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -1211,6 +1211,14 @@ void LLTextEditor::showEmojiHelper()
LLEmojiHelper::instance().showHelper(this, cursorRect.mLeft, cursorRect.mTop, LLStringUtil::null, cb);
}
+void LLTextEditor::hideEmojiHelper()
+{
+ if (mShowEmojiHelper)
+ {
+ LLEmojiHelper::instance().hideHelper(this);
+ }
+}
+
void LLTextEditor::tryToShowEmojiHelper()
{
if (mReadOnly || !mShowEmojiHelper)