From 2e0892e53041f75fc991b77870a4f2f4672fefb1 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Tue, 7 Nov 2023 08:55:15 +0100 Subject: SL-20356 Show tooltip for the empty-recent textbox --- indra/newview/llfloaterimsessiontab.cpp | 3 ++- indra/newview/llfloaterimsessiontab.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'indra') 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("emoji_recent_layout_panel"); mEmojiRecentPanel->setVisible(false); - mEmojiRecentEmptyText = getChildView("emoji_recent_empty_text"); + mEmojiRecentEmptyText = getChild("emoji_recent_empty_text"); + mEmojiRecentEmptyText->setToolTip(mEmojiRecentEmptyText->getText()); mEmojiRecentEmptyText->setVisible(false); mEmojiRecentIconsCtrl = getChild("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; -- cgit v1.2.3