diff options
author | Dave Parks <davep@lindenlab.com> | 2012-09-11 15:55:36 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-09-11 15:55:36 -0500 |
commit | 7aca8ad6b83be2d260b26bd5d27ff36ec7786cff (patch) | |
tree | d4858cb0d901fc27130cb60da617227e48a17569 /indra/newview/llsidepaneltaskinfo.cpp | |
parent | d1c34bff3787c6228b5d89316079011a7f098cfc (diff) |
MAINT-1534 Fix for calls to find widgets getting out of hand.
Diffstat (limited to 'indra/newview/llsidepaneltaskinfo.cpp')
-rw-r--r-- | indra/newview/llsidepaneltaskinfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llsidepaneltaskinfo.cpp b/indra/newview/llsidepaneltaskinfo.cpp index c351b1a128..5532bdc71a 100644 --- a/indra/newview/llsidepaneltaskinfo.cpp +++ b/indra/newview/llsidepaneltaskinfo.cpp @@ -101,6 +101,8 @@ BOOL LLSidepanelTaskInfo::postBuild() mDetailsBtn = getChild<LLButton>("details_btn"); mDetailsBtn->setClickedCallback(boost::bind(&LLSidepanelTaskInfo::onDetailsButtonClicked, this)); + mDeedBtn = getChild<LLButton>("button deed"); + mLabelGroupName = getChild<LLNameBox>("Group Name Proxy"); childSetCommitCallback("Object Name", LLSidepanelTaskInfo::onCommitName,this); @@ -263,7 +265,7 @@ void LLSidepanelTaskInfo::disableAll() void LLSidepanelTaskInfo::refresh() { - LLButton* btn_deed_to_group = getChild<LLButton>("button deed"); + LLButton* btn_deed_to_group = mDeedBtn; if (btn_deed_to_group) { std::string deedText; |