diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-07 16:49:54 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-07 16:49:54 +0200 |
commit | 986307972c79a6459faa6f73c1f3ebee4bff6364 (patch) | |
tree | d19552ef854d641fd8d93f3d3db9e02e787e270b /indra/newview/llpanellandmarks.cpp | |
parent | a2434a3a415b7882ec41124b085a576a3e825508 (diff) | |
parent | 62dce8b425627b85bc119920b79fd882a5a77f09 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-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; |