Skip to content
Snippets Groups Projects
Commit 95d0da56 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-7447 restore filter functionality in Abilities tab

parent d3a1c4cd
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,8 @@ public:
virtual void setupCtrls (LLPanel* parent) {};
virtual void onFilterChanged() { }
protected:
LLUUID mGroupID;
BOOL mAllowEdit;
......
......@@ -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();
......
......@@ -311,6 +311,7 @@ public:
virtual bool needsApply(std::string& mesg);
virtual bool apply(std::string& mesg);
virtual void update(LLGroupChange gc);
virtual void onFilterChanged();
void handleActionSelect();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment