diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-04-01 13:47:18 +0300 |
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-04-01 13:47:18 +0300 |
| commit | e51ec77431380891b98c40e89edf8f57d90710c4 (patch) | |
| tree | 1a59c87374040095313b117c5172aed61a7f6816 /indra/newview/llfloaterimsessiontab.cpp | |
| parent | b0de02aa02b6926805a71f1c1044b65bf894bcc5 (diff) | |
SL-15053 Use previous icon for Nearby chat
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
| -rw-r--r-- | indra/newview/llfloaterimsessiontab.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 492f63a700..e7f428c06a 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -48,6 +48,7 @@ const F32 REFRESH_INTERVAL = 1.0f; const std::string ICN_GROUP("group_chat_icon"); +const std::string ICN_NEARBY("nearby_chat_icon"); const std::string ICN_AVATAR("avatar_icon"); void cb_group_do_nothing() @@ -346,8 +347,6 @@ BOOL LLFloaterIMSessionTab::postBuild() assignResizeLimits(); - getChild<LLLayoutPanel>("session_icon_layout_panel")->setVisible(mSessionID.notNull()); - return result; } @@ -727,6 +726,15 @@ void LLFloaterIMSessionTab::updateChatIcon(const LLUUID& id) icon->setValue(id); } } + else + { + if (mIsNearbyChat) + { + LLIconCtrl* icon = getChild<LLIconCtrl>(ICN_NEARBY); + icon->setVisible(true); + } + } + } void LLFloaterIMSessionTab::hideAllStandardButtons() |
