summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelemojicomplete.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2022-10-23 17:51:22 +0200
committerKitty Barnett <develop@catznip.com>2022-10-23 16:29:20 +0200
commitcb0bb91108b628e1134f1f655eaca9d305961cda (patch)
tree5dead06f32803b23b8935ada7ae0fff9b7ae4073 /indra/newview/llpanelemojicomplete.cpp
parent58cdcd5dd23778c6fad9fa0da31b670ceff8eeeb (diff)
Mini emoji helper shows as a small slice when there are no matching emojis
Diffstat (limited to 'indra/newview/llpanelemojicomplete.cpp')
-rw-r--r--indra/newview/llpanelemojicomplete.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelemojicomplete.cpp b/indra/newview/llpanelemojicomplete.cpp
index 61b08ad48d..a7058a6724 100644
--- a/indra/newview/llpanelemojicomplete.cpp
+++ b/indra/newview/llpanelemojicomplete.cpp
@@ -260,6 +260,10 @@ BOOL LLFloaterEmojiComplete::handleKey(KEY key, MASK mask, BOOL called_from_pare
void LLFloaterEmojiComplete::onOpen(const LLSD& key)
{
mEmojiCtrl->setEmojiHint(key["hint"].asString());
+ if (0 == mEmojiCtrl->getEmojiCount())
+ {
+ LLEmojiHelper::instance().hideHelper();
+ }
}
BOOL LLFloaterEmojiComplete::postBuild()