diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-12-07 17:09:19 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-12-07 17:09:19 -0800 |
commit | 5c2686bc6323cb162d9b3e4effa6a8d34fb95836 (patch) | |
tree | 8162047cfafa9027dbcdc03597f8a0a2ad92c9ee /indra/newview/llpanellandmarks.cpp | |
parent | b65334a4c133984fed9466db60df92756e8de05d (diff) | |
parent | 5245fb69721bf4b70de85211da6721b0e0137e07 (diff) |
Merge
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; |