summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelgroup.cpp')
-rw-r--r--indra/newview/llpanelgroup.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp
index 3db0f90df8..079a5583d4 100644
--- a/indra/newview/llpanelgroup.cpp
+++ b/indra/newview/llpanelgroup.cpp
@@ -167,8 +167,6 @@ bool LLPanelGroup::postBuild()
mButtonRefresh = getChild<LLButton>("btn_refresh");
mButtonRefresh->setClickedCallback(onBtnRefresh, this);
- mButtonCancel = getChild<LLButton>("btn_cancel");
-
mGroupNameCtrl = getChild<LLUICtrl>("group_name");
childSetCommitCallback("back",boost::bind(&LLPanelGroup::onBackBtnClick,this),NULL);
@@ -214,18 +212,8 @@ void LLPanelGroup::reposButton(LLButton* button)
void LLPanelGroup::reposButtons()
{
- if(mButtonRefresh && mButtonCancel && mButtonRefresh->getVisible() && mButtonCancel->getVisible())
- {
- LLRect btn_refresh_rect = mButtonRefresh->getRect();
- LLRect btn_cancel_rect = mButtonCancel->getRect();
- btn_refresh_rect.setLeftTopAndSize( btn_cancel_rect.mLeft + btn_cancel_rect.getWidth() + 2,
- btn_refresh_rect.getHeight() + 2, btn_refresh_rect.getWidth(), btn_refresh_rect.getHeight());
- mButtonRefresh->setRect(btn_refresh_rect);
- }
-
reposButton(mButtonApply);
reposButton(mButtonRefresh);
- reposButton(mButtonCancel);
reposButton(mButtonChat);
reposButton(mButtonCall);
}
@@ -376,9 +364,6 @@ void LLPanelGroup::setGroupID(const LLUUID& group_id)
if(mButtonRefresh)
mButtonRefresh->setVisible(!is_null_group_id);
- if(mButtonCancel)
- mButtonCancel->setVisible(!is_null_group_id);
-
if(mButtonCall)
mButtonCall->setVisible(!is_null_group_id);
if(mButtonChat)