summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateremojipicker.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-07-28 18:42:57 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-07-28 22:29:01 +0200
commit264d9c32d9e04df0ceeaf2a63f6872aad29dd46a (patch)
treea70e1acb3d22d9bb980997b53d3c391653f73249 /indra/newview/llfloateremojipicker.cpp
parentc5d7f3c4c1cf37ca0e68bbe9830bd3f3931476e5 (diff)
SL-20088 EmojiPicker - replace the image on the activation button with an emoji
Diffstat (limited to 'indra/newview/llfloateremojipicker.cpp')
-rw-r--r--indra/newview/llfloateremojipicker.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp
index 808aca4bf4..c3344fc18a 100644
--- a/indra/newview/llfloateremojipicker.cpp
+++ b/indra/newview/llfloateremojipicker.cpp
@@ -355,10 +355,7 @@ void LLFloaterEmojiPicker::fillGroups()
button->setMouseLeaveCallback([this](LLUICtrl* ctrl, const LLSD&) { onGroupButtonMouseLeave(ctrl); });
button->setRect(rect);
-
- LLUIString text;
- text.insert(0, LLWString(1, group.Character));
- button->setLabel(text);
+ button->setLabel(LLUIString(LLWString(1, group.Character)));
if (mGroupButtons.size() == sSelectedGroupIndex)
{