summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroup.cpp
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-21 10:13:44 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-21 10:13:44 +0200
commitab689479bae4284af75f29e024bad19b7ef8cb6d (patch)
treea9455dc69d934063ed6d2299632c89255b81f530 /indra/newview/llpanelgroup.cpp
parentf0bd24fbbd9a30a311ce4b36b967d108c0c03705 (diff)
fix normal EXT-4494 [BSI] Group Chat and Group Call buttons are shown even when you are not in the group
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
-rw-r--r--indra/newview/llpanelgroup.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp
index 01291c4012..569d3001bf 100644
--- a/indra/newview/llpanelgroup.cpp
+++ b/indra/newview/llpanelgroup.cpp
@@ -425,6 +425,11 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id)
getChild<LLUICtrl>("group_name")->setVisible(false);
getChild<LLUICtrl>("group_name_editor")->setVisible(true);
+
+ if(button_call)
+ button_call->setVisible(false);
+ if(button_chat)
+ button_chat->setVisible(false);
}
else
{
@@ -452,6 +457,10 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id)
if(button_apply)
button_apply->setVisible(is_member);
+ if(button_call)
+ button_call->setVisible(is_member);
+ if(button_chat)
+ button_chat->setVisible(is_member);
}
reposButtons();