MAINT-8622 FIXED "Share" checkbox becomes gray after sharing the object (no modify) for the group

meow-7.2.2
maxim_productengine 2018-05-04 18:19:50 +03:00
parent e31d876c6c
commit 815067ae29
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}