Don't limit estate managers on non-SL grids, let the grid do that.

This commit is contained in:
Lirusaito
2019-04-25 15:40:51 -04:00
parent 2d06d455cd
commit 15a8e1f08f

View File

@@ -1599,7 +1599,7 @@ void LLPanelEstateInfo::onClickAddEstateManager()
{
LLCtrlListInterface *list = childGetListInterface("estate_manager_name_list");
if (!list) return;
if (list->getItemCount() >= ESTATE_MAX_MANAGERS)
if (gHippoGridManager->getConnectedGrid()->isSecondLife() && list->getItemCount() >= ESTATE_MAX_MANAGERS)
{ // Tell user they can't add more managers
LLSD args;
args["MAX_MANAGER"] = llformat("%d",ESTATE_MAX_MANAGERS);