summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-04-18 23:48:44 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-04-19 00:38:53 +0200
commit4016a086075ac1ba3a1bff8bc06468de654dad67 (patch)
tree599fbe51406fdedf3dbf29b8b909dca6c246423d /indra
parent4379cc64dbdbd488a8ddcc4d21712f9da4cee154 (diff)
secondlife/viewer#1249 Erratic Emoji Picker Behavior
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloateremojipicker.cpp8
-rw-r--r--indra/newview/llfloateremojipicker.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp
index 51b31a72ca..78b94d1b0c 100644
--- a/indra/newview/llfloateremojipicker.cpp
+++ b/indra/newview/llfloateremojipicker.cpp
@@ -333,6 +333,14 @@ void LLFloaterEmojiPicker::onOpen(const LLSD& key)
gFloaterView->adjustToFitScreen(this, FALSE);
}
+void LLFloaterEmojiPicker::onClose(bool app_quitting)
+{
+ if (!app_quitting)
+ {
+ LLEmojiHelper::instance().hideHelper(nullptr, true);
+ }
+}
+
void LLFloaterEmojiPicker::dirtyRect()
{
super::dirtyRect();
diff --git a/indra/newview/llfloateremojipicker.h b/indra/newview/llfloateremojipicker.h
index 5d0402ca83..e9e01ee5d3 100644
--- a/indra/newview/llfloateremojipicker.h
+++ b/indra/newview/llfloateremojipicker.h
@@ -94,6 +94,7 @@ private:
void unselectGridIcon(LLEmojiGridIcon* icon);
void onOpen(const LLSD& key) override;
+ void onClose(bool app_quitting) override;
virtual BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent) override;
class LLPanel* mGroups { nullptr };