diff options
author | andreykproductengine <akleshchev@productengine.com> | 2014-07-02 16:57:07 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2014-07-02 16:57:07 +0300 |
commit | 70c2472e427c2d58edd857d298ea9f1fbe4bd41f (patch) | |
tree | b9c04af41e4e40d88d83e68b625d3bf20a709c0a | |
parent | 854c251feffe9bf194bc4e63fd0de28bd20ff995 (diff) |
MAINT-4203 FIXED [Group Bans] Member list shows newly banned ex-residents
-rwxr-xr-x | indra/newview/llpanelgrouproles.cpp | 9 |
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() |