Remove iffy EAM change

This commit is contained in:
Lirusaito
2019-07-29 11:21:00 -04:00
parent c8bd1f5f5b
commit 6aab72beb8

View File

@@ -2752,8 +2752,7 @@ void LLPanelLandAccess::refresh_ui()
std::string 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 && can_allow_groups);
getChildView("GroupCheck")->setEnabled(can_manage_allowed);
}
getChildView("AccessList")->setEnabled(true/*can_manage_allowed*/);
S32 allowed_list_count = parcel->mAccessList.size();