Remove iffy EAM change
This commit is contained in:
@@ -2752,8 +2752,7 @@ void LLPanelLandAccess::refresh_ui()
|
|||||||
std::string group_name;
|
std::string group_name;
|
||||||
if (gCacheName->getGroupName(parcel->getGroupID(), group_name))
|
if (gCacheName->getGroupName(parcel->getGroupID(), group_name))
|
||||||
{
|
{
|
||||||
bool can_allow_groups = !public_access || (public_access && (getChild<LLUICtrl>("limit_payment")->getValue().asBoolean() ^ getChild<LLUICtrl>("limit_age_verified")->getValue().asBoolean()));
|
getChildView("GroupCheck")->setEnabled(can_manage_allowed);
|
||||||
getChildView("GroupCheck")->setEnabled(can_manage_allowed && can_allow_groups);
|
|
||||||
}
|
}
|
||||||
getChildView("AccessList")->setEnabled(true/*can_manage_allowed*/);
|
getChildView("AccessList")->setEnabled(true/*can_manage_allowed*/);
|
||||||
S32 allowed_list_count = parcel->mAccessList.size();
|
S32 allowed_list_count = parcel->mAccessList.size();
|
||||||
|
|||||||
Reference in New Issue
Block a user