summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-12-16 14:05:21 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-12-16 14:05:21 +0200
commit0e31f5caccf346f9a9657594c07267e45838b911 (patch)
tree639c24b57bd6ced2dc865639280bb8cb881bfaa0 /indra/newview
parent8a761993da9d8e7e8b0b8d0350c79c1e8c511e31 (diff)
MAINT-2215 Estate tools Apply button remains available after it is clicked.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llfloaterregioninfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp
index 5d1e01c1f7..16566bea73 100755
--- a/indra/newview/llfloaterregioninfo.cpp
+++ b/indra/newview/llfloaterregioninfo.cpp
@@ -2049,6 +2049,8 @@ void LLPanelEstateInfo::updateControls(LLViewerRegion* region)
BOOL manager = (region && region->isEstateManager());
setCtrlsEnabled(god || owner || manager);
+ getChildView("apply_btn")->setEnabled(FALSE);
+
BOOL has_allowed_avatar = getChild<LLNameListCtrl>("allowed_avatar_name_list")->getFirstSelected() ? TRUE : FALSE;
BOOL has_allowed_group = getChild<LLNameListCtrl>("allowed_group_name_list")->getFirstSelected() ? TRUE : FALSE;
BOOL has_banned_agent = getChild<LLNameListCtrl>("banned_avatar_name_list")->getFirstSelected() ? TRUE : FALSE;