Skip to content

Commit bd8438f

Browse files
committed
viewer#1619 Fix outfits search pulling up results sometimes
Search forces a refresh - can search items that don't exist yet Always notify parent of rect changes despite visibility (alterantively - rearrange on open)
1 parent 6f7e50e commit bd8438f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

indra/newview/llinventoryitemslist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void LLInventoryItemsList::doIdle()
115115
{
116116
if (mRefreshState == REFRESH_COMPLETE) return;
117117

118-
if (isInVisibleChain() || mForceRefresh )
118+
if (isInVisibleChain() || mForceRefresh || !getFilterSubString().empty())
119119
{
120120
refresh();
121121

indra/newview/lloutfitslist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ void LLOutfitsList::onFilterSubStringChanged(const std::string& new_string, cons
567567
LLWearableItemsList* list = dynamic_cast<LLWearableItemsList*>(tab->getAccordionView());
568568
if (list)
569569
{
570-
list->setFilterSubString(new_string, tab->getDisplayChildren());
570+
list->setFilterSubString(new_string, true);
571571
}
572572

573573
if (old_string.empty())

0 commit comments

Comments
 (0)