summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-11-08 11:56:13 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2023-11-08 17:50:45 +0100
commitbee1a78f5a2e6c455dfe7cb940ee26df77e51cff (patch)
tree6b50b6397a5f4d445d16f199ec676cea51ebef3f /indra/newview
parent716b9af35d0dbc3ba8048a1bcca2c8c8f703bed0 (diff)
SL-20415 Activating an already active category button should move focus to search field
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloateremojipicker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp
index 45c33728e5..df973a15b5 100644
--- a/indra/newview/llfloateremojipicker.cpp
+++ b/indra/newview/llfloateremojipicker.cpp
@@ -577,6 +577,8 @@ void LLFloaterEmojiPicker::onGroupButtonClick(LLUICtrl* ctrl)
{
if (LLButton* button = dynamic_cast<LLButton*>(ctrl))
{
+ mFilter->setFocus(TRUE);
+
if (button == mGroupButtons[sSelectedGroupIndex] || button->getToggleState())
return;
@@ -595,8 +597,6 @@ void LLFloaterEmojiPicker::onGroupButtonClick(LLUICtrl* ctrl)
rect.mRight = button->getRect().mRight;
mBadge->setRect(rect);
- mFilter->setFocus(TRUE);
-
fillEmojis();
}
}