summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-12-07 16:49:54 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-12-07 16:49:54 +0200
commit986307972c79a6459faa6f73c1f3ebee4bff6364 (patch)
treed19552ef854d641fd8d93f3d3db9e02e787e270b /indra/newview/llpanellandmarks.cpp
parenta2434a3a415b7882ec41124b085a576a3e825508 (diff)
parent62dce8b425627b85bc119920b79fd882a5a77f09 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r--indra/newview/llpanellandmarks.cpp5
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;