Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions indra/newview/lloutfitslist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ void LLOutfitsList::updateAddedCategory(LLUUID cat_id)
// for reliability just fetch it whole, linked items included
LLInventoryModelBackgroundFetch::instance().fetchFolderAndLinks(cat_id, [cat_id, list]
{
if (list) list->updateList(cat_id);
if (list)
{
list->updateList(cat_id);
list->setForceRefresh(true);
}
});
}
else
Expand All @@ -264,6 +268,7 @@ void LLOutfitsList::updateAddedCategory(LLUUID cat_id)
// Refresh the list of outfit items after fetch().
// Further list updates will be triggered by the category observer.
list->updateList(cat_id);
list->setForceRefresh(true);
}

// If filter is currently applied we store the initial tab state.
Expand Down Expand Up @@ -590,7 +595,7 @@ void LLOutfitsList::onFilterSubStringChanged(const std::string& new_string, cons
LLWearableItemsList* list = dynamic_cast<LLWearableItemsList*>(tab->getAccordionView());
if (list)
{
list->setFilterSubString(new_string, true);
list->setFilterSubString(new_string, tab->getDisplayChildren());
}

if (old_string.empty())
Expand Down
Loading