diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-10-09 12:35:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 12:35:53 +0300 |
commit | 683e96ed61692d26b3eba2b08fe9978de998cb41 (patch) | |
tree | 08aad8e6772ac5405f0cb2c0e027b5b201de4d09 /indra/newview/llpanelgroup.cpp | |
parent | b2fde0945453e0bf530916264f2c330ec09162b2 (diff) |
SL-20380 Add group notices button as hover button on Groups floater
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
-rw-r--r-- | indra/newview/llpanelgroup.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp index ab255d5215..57742f16a7 100644 --- a/indra/newview/llpanelgroup.cpp +++ b/indra/newview/llpanelgroup.cpp @@ -134,6 +134,15 @@ void LLPanelGroup::onOpen(const LLSD& key) if(panel_notices) panel_notices->refreshNotices(); } + if (str_action == "show_notices") + { + setGroupID(group_id); + + LLAccordionCtrl *tab_ctrl = getChild<LLAccordionCtrl>("groups_accordion"); + tab_ctrl->collapseAllTabs(); + getChild<LLAccordionCtrlTab>("group_notices_tab")->setDisplayChildren(true); + tab_ctrl->arrange(); + } } |