diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-06-07 12:07:40 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-06-07 12:07:40 +0300 | 
| commit | bd8438f7083643ae5812b14e35e69e69ef1616c6 (patch) | |
| tree | 49cacf354813afbba39caaee172ae9b2e184f188 | |
| parent | 6f7e50e2b21077dda6583f3add1521f3ba83bc19 (diff) | |
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)
| -rw-r--r-- | indra/newview/llinventoryitemslist.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lloutfitslist.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryitemslist.cpp b/indra/newview/llinventoryitemslist.cpp index cac859387c..c6042142eb 100644 --- a/indra/newview/llinventoryitemslist.cpp +++ b/indra/newview/llinventoryitemslist.cpp @@ -115,7 +115,7 @@ void LLInventoryItemsList::doIdle()  {  	if (mRefreshState == REFRESH_COMPLETE) return; -	if (isInVisibleChain() || mForceRefresh ) +	if (isInVisibleChain() || mForceRefresh || !getFilterSubString().empty())  	{  		refresh(); diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index 66d8bff18f..273eecda80 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -567,7 +567,7 @@ void LLOutfitsList::onFilterSubStringChanged(const std::string& new_string, cons  		LLWearableItemsList* list = dynamic_cast<LLWearableItemsList*>(tab->getAccordionView());  		if (list)  		{ -			list->setFilterSubString(new_string, tab->getDisplayChildren()); +			list->setFilterSubString(new_string, true);  		}  		if (old_string.empty())  | 
