Skip to content
Snippets Groups Projects
Commit ab689479 authored by Ychebotarev ProductEngine's avatar Ychebotarev ProductEngine
Browse files

fix normal EXT-4494 [BSI] Group Chat and Group Call buttons are shown even...

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
parent f0bd24fb
No related branches found
No related tags found
No related merge requests found
...@@ -425,6 +425,11 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id) ...@@ -425,6 +425,11 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id)
getChild<LLUICtrl>("group_name")->setVisible(false); getChild<LLUICtrl>("group_name")->setVisible(false);
getChild<LLUICtrl>("group_name_editor")->setVisible(true); getChild<LLUICtrl>("group_name_editor")->setVisible(true);
if(button_call)
button_call->setVisible(false);
if(button_chat)
button_chat->setVisible(false);
} }
else else
{ {
...@@ -452,6 +457,10 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id) ...@@ -452,6 +457,10 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id)
if(button_apply) if(button_apply)
button_apply->setVisible(is_member); button_apply->setVisible(is_member);
if(button_call)
button_call->setVisible(is_member);
if(button_chat)
button_chat->setVisible(is_member);
} }
reposButtons(); reposButtons();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment