diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-06-20 17:14:18 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-06-20 17:14:18 +0300 |
commit | b959a156bafd83355b6b7350318500cdc14420f3 (patch) | |
tree | f1bcec9ce9df555bc480ae71480b12f35ce0bb7a | |
parent | 75ee01277432a32178aac03ae606df6909c6c959 (diff) |
MAINT-7507 FIXED When assigning abilities to a group role, ticking "Manage ban list" causes other selected abilities to untick
-rw-r--r-- | indra/newview/llpanelgrouproles.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 78270c20bb..66a0a1d4ad 100644 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -2472,12 +2472,7 @@ void LLPanelGroupRolesSubTab::handleActionCheck(LLUICtrl* ctrl, bool force) ////////////////////////////////////////////////////////////////////////// - LLGroupMgrGroupData::role_list_t::iterator rit = gdatap->mRoles.find(role_id); - U64 current_role_powers = GP_NO_POWERS; - if (rit != gdatap->mRoles.end()) - { - current_role_powers = ((*rit).second->getRoleData().mRolePowers); - } + U64 current_role_powers = gdatap->getRolePowers(role_id); if(isEnablingAbility) { |