summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-11-07 08:55:15 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2023-11-07 08:58:42 +0100
commit2e0892e53041f75fc991b77870a4f2f4672fefb1 (patch)
tree6655bc4573a608a35642e6b27de5eac265178839 /indra
parent80bdfe3b5eec180e563bb0887bdc986f76dfd6f9 (diff)
SL-20356 Show tooltip for the empty-recent textbox
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp3
-rw-r--r--indra/newview/llfloaterimsessiontab.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index c188bbdce9..04385409ca 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -264,7 +264,8 @@ BOOL LLFloaterIMSessionTab::postBuild()
mEmojiRecentPanel = getChild<LLLayoutPanel>("emoji_recent_layout_panel");
mEmojiRecentPanel->setVisible(false);
- mEmojiRecentEmptyText = getChildView("emoji_recent_empty_text");
+ mEmojiRecentEmptyText = getChild<LLTextBox>("emoji_recent_empty_text");
+ mEmojiRecentEmptyText->setToolTip(mEmojiRecentEmptyText->getText());
mEmojiRecentEmptyText->setVisible(false);
mEmojiRecentIconsCtrl = getChild<LLPanelEmojiComplete>("emoji_recent_icons_ctrl");
diff --git a/indra/newview/llfloaterimsessiontab.h b/indra/newview/llfloaterimsessiontab.h
index 0ff3d0b38c..1b34b242c7 100644
--- a/indra/newview/llfloaterimsessiontab.h
+++ b/indra/newview/llfloaterimsessiontab.h
@@ -172,7 +172,7 @@ protected:
LLLayoutPanel* mToolbarPanel;
LLLayoutPanel* mInputButtonPanel;
LLLayoutPanel* mEmojiRecentPanel;
- LLView* mEmojiRecentEmptyText;
+ LLTextBox* mEmojiRecentEmptyText;
LLPanelEmojiComplete* mEmojiRecentIconsCtrl;
LLParticipantList* getParticipantList();
conversations_widgets_map mConversationsWidgets;