summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgrouproles.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <none@none>2017-06-07 18:56:24 +0300
committerMnikolenko Productengine <none@none>2017-06-07 18:56:24 +0300
commit95d0da56fda169a7cce34e07f8ae76f86dce42c0 (patch)
tree2e76ed0dc0d9e1f2e785aeee8f0e921120fbed28 /indra/newview/llpanelgrouproles.cpp
parentd3a1c4cda49cc1b113abbdb175c557456581efac (diff)
MAINT-7447 restore filter functionality in Abilities tab
Diffstat (limited to 'indra/newview/llpanelgrouproles.cpp')
-rw-r--r--indra/newview/llpanelgrouproles.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp
index 473451bdb6..78270c20bb 100644
--- a/indra/newview/llpanelgrouproles.cpp
+++ b/indra/newview/llpanelgrouproles.cpp
@@ -494,6 +494,7 @@ void LLPanelGroupSubTab::setSearchFilter(const std::string& filter)
mSearchFilter = filter;
LLStringUtil::toLower(mSearchFilter);
update(GC_ALL);
+ onFilterChanged();
}
void LLPanelGroupSubTab::activate()
@@ -2826,6 +2827,20 @@ void LLPanelGroupActionsSubTab::update(LLGroupChange gc)
}
}
+void LLPanelGroupActionsSubTab::onFilterChanged()
+{
+ mActionDescription->clear();
+ mActionList->deselectAllItems();
+ mActionList->deleteAllItems();
+ buildActionsList(mActionList,
+ GP_ALL_POWERS,
+ GP_ALL_POWERS,
+ NULL,
+ FALSE,
+ TRUE,
+ FALSE);
+}
+
void LLPanelGroupActionsSubTab::handleActionSelect()
{
mActionMembers->deleteAllItems();