diff options
author | Brett Joseph <bjoseph@vivox.com> | 2015-05-11 09:52:18 -0400 |
---|---|---|
committer | Brett Joseph <bjoseph@vivox.com> | 2015-05-11 09:52:18 -0400 |
commit | 43b7fe66db159faaa84d545f97818e7a6f0f6920 (patch) | |
tree | 6581ed36e716f6aa57b01f2861d6812294fb2261 /indra/newview/llpanelpermissions.cpp | |
parent | 7cc3e9b3cf8d70fce2ba0d4a398824e599fc8c5d (diff) | |
parent | e611e35e033e99f619b0e4938f6879c8e387efd5 (diff) |
Merged lindenlab/viewer-tools-update into default
Diffstat (limited to 'indra/newview/llpanelpermissions.cpp')
-rwxr-xr-x | indra/newview/llpanelpermissions.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp index 58055d98c6..ce9231d6f2 100755 --- a/indra/newview/llpanelpermissions.cpp +++ b/indra/newview/llpanelpermissions.cpp @@ -851,6 +851,14 @@ void LLPanelPermissions::refresh() combo_click_action->setValue(LLSD(combo_value)); } } + + if(LLSelectMgr::getInstance()->getSelection()->isAttachment()) + { + getChildView("checkbox for sale")->setEnabled(FALSE); + getChildView("Edit Cost")->setEnabled(FALSE); + getChild<LLComboBox>("sale type")->setEnabled(FALSE); + } + getChildView("label click action")->setEnabled(is_perm_modify && is_nonpermanent_enforced && all_volume); getChildView("clickaction")->setEnabled(is_perm_modify && is_nonpermanent_enforced && all_volume); } |