diff options
| author | Sergei Litovchuk <slitovchuk@productengine.com> | 2009-12-07 16:45:14 +0200 | 
|---|---|---|
| committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2009-12-07 16:45:14 +0200 | 
| commit | 62dce8b425627b85bc119920b79fd882a5a77f09 (patch) | |
| tree | 359d22834627a81d07d5ddff4e46e40ae66a0069 | |
| parent | 7c839098a7643f0e58dacdd9af1a509f2f72c61c (diff) | |
Fix for critical bug EXT-3166 "MyInventory/Library Places accordions are causing massive inventory background fetch on startup"
- MyInventory/Library Places accordions aren't expanded on startup now.
--HG--
branch : product-engine
| -rw-r--r-- | indra/newview/llpanellandmarks.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index d731da0ec7..e87b70f6a5 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -125,7 +125,10 @@ void LLLandmarksPanel::onSearchEdit(const std::string& string)  		tab->setVisible(TRUE);  		// expand accordion to see matched items in each one. See EXT-2014. -		tab->changeOpenClose(false); +		if (string != "") +		{ +			tab->changeOpenClose(false); +		}  		LLInventorySubTreePanel* inventory_list = dynamic_cast<LLInventorySubTreePanel*>(tab->getAccordionView());  		if (NULL == inventory_list) continue; | 
