diff options
| author | Mnikolenko Productengine <none@none> | 2017-06-07 18:56:24 +0300 |
|---|---|---|
| committer | Mnikolenko Productengine <none@none> | 2017-06-07 18:56:24 +0300 |
| commit | 95d0da56fda169a7cce34e07f8ae76f86dce42c0 (patch) | |
| tree | 2e76ed0dc0d9e1f2e785aeee8f0e921120fbed28 /indra/newview/llpanelgrouproles.cpp | |
| parent | d3a1c4cda49cc1b113abbdb175c557456581efac (diff) | |
MAINT-7447 restore filter functionality in Abilities tab
Diffstat (limited to 'indra/newview/llpanelgrouproles.cpp')
| -rw-r--r-- | indra/newview/llpanelgrouproles.cpp | 15 |
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(); |
