summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-05-04 18:19:50 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-05-04 18:19:50 +0300
commit815067ae29d9cf8dc8ce4334bbac0c9aec6e7914 (patch)
treea3f4098a49136573501a72e357260c97a9814235 /indra
parente31d876c6c0a3443ba144f122d3a17c565df0cdc (diff)
MAINT-8622 FIXED "Share" checkbox becomes gray after sharing the object (no modify) for the group
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelpermissions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp
index be34b6d8cd..cb46ce8c42 100644
--- a/indra/newview/llpanelpermissions.cpp
+++ b/indra/newview/llpanelpermissions.cpp
@@ -810,7 +810,7 @@ void LLPanelPermissions::refresh()
else
{
getChild<LLUICtrl>("checkbox share with group")->setValue(TRUE);
- getChild<LLUICtrl>("checkbox share with group")->setTentative( TRUE);
+ getChild<LLUICtrl>("checkbox share with group")->setTentative(!has_change_perm_ability);
getChildView("button deed")->setEnabled(gAgent.hasPowerInGroup(group_id, GP_OBJECT_DEED) && (group_mask_on & PERM_MOVE) && (owner_mask_on & PERM_TRANSFER) && !group_owned && can_transfer);
}
}