From 3e7de89a6d0d58a34d9d75e9b114e9cf298276d6 Mon Sep 17 00:00:00 2001
From: Sergei Litovchuk <slitovchuk@productengine.com>
Date: Wed, 30 Dec 2009 14:21:14 +0200
Subject: [PATCH] Fixed normal bug (EXT-3714) No landmarks is shown in expanded
 accordeon after filter has been used. - Added applying filter upon accordion
 expansion to update currently filtered items.

--HG--
branch : product-engine
---
 indra/newview/llpanellandmarks.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp
index 87abb163955..30acf37f823 100644
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -505,6 +505,10 @@ void LLLandmarksPanel::onAccordionExpandedCollapsed(const LLSD& param, LLPlacesI
 		{
 			gInventory.startBackgroundFetch(cat_id);
 		}
+
+		// Apply filter substring because it might have been changed
+		// while accordion was closed. See EXT-3714.
+		filter_list(inventory_list, sFilterSubString);
 	}
 }
 
-- 
GitLab