summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-07-02 16:57:07 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-07-02 16:57:07 +0300
commit70c2472e427c2d58edd857d298ea9f1fbe4bd41f (patch)
treeb9c04af41e4e40d88d83e68b625d3bf20a709c0a
parent854c251feffe9bf194bc4e63fd0de28bd20ff995 (diff)
MAINT-4203 FIXED [Group Bans] Member list shows newly banned ex-residents
-rwxr-xr-xindra/newview/llpanelgrouproles.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp
index 68022ef343..47f2c94cd1 100755
--- a/indra/newview/llpanelgrouproles.cpp
+++ b/indra/newview/llpanelgrouproles.cpp
@@ -1330,6 +1330,15 @@ void LLPanelGroupMembersSubTab::activate()
update(GC_ALL);
mActivated = true;
}
+ else
+ {
+ LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(mGroupID);
+ // Members can be removed outside of this tab, checking changes
+ if (!gdatap || (gdatap->isMemberDataComplete() && gdatap->mMembers.size() != mMembersList->getItemCount()))
+ {
+ update(GC_MEMBER_DATA);
+ }
+ }
}
void LLPanelGroupMembersSubTab::deactivate()