diff options
author | Cho <cho@lindenlab.com> | 2014-05-01 22:57:04 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2014-05-01 22:57:04 +0100 |
commit | f45218ff32a20d1bd490fb9dc3951c4986bdd5ca (patch) | |
tree | 59f72ead9621ae1eaa4cd653f42e334b2423ad74 /indra/newview/llfloaterregioninfo.cpp | |
parent | 7d08e72b4de54977f3fd3f0c3224c9d28cdbacbd (diff) |
Added counter of experiences in trusted/allowed/blocked lists in Region/Estate floater for ACME-1435
Diffstat (limited to 'indra/newview/llfloaterregioninfo.cpp')
-rwxr-xr-x | indra/newview/llfloaterregioninfo.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index 6d8f8f5587..7272fe79c7 100755 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -3588,6 +3588,19 @@ void LLPanelRegionExperiences::processResponse( const LLSD& content ) mAllowed->setExperienceIds(content["allowed"]); mBlocked->setExperienceIds(content["blocked"]); mTrusted->setExperienceIds(content["trusted"]); + + if (!mAllowed->getReadonly()) + { + mAllowed->refreshExperienceCounter("RegionInfoAllowedExperiences"); + } + if (!mBlocked->getReadonly()) + { + mBlocked->refreshExperienceCounter("RegionInfoBlockedExperiences"); + } + if (!mTrusted->getReadonly()) + { + mTrusted->refreshExperienceCounter("RegionInfoTrustedExperiences"); + } } |