From 803fc2f53a6d13544dce5ea99d0cb0e5d86c4169 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 15 May 2020 11:02:05 +0300 Subject: [PATCH] Fix #8958 --- OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java b/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java index 26baa04f45..b708b4afd6 100644 --- a/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java +++ b/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java @@ -556,6 +556,7 @@ public class PoiFiltersHelper { for (PoiTemplateList t : selectedPoiFilters.keySet()) { clearSelectedPoiFilters(t); } + saveSelectedPoiFilters(); } public void clearSelectedPoiFilters(PoiTemplateList type) { @@ -563,10 +564,12 @@ public class PoiFiltersHelper { if (templateFilters != null) { templateFilters.clear(); } + saveSelectedPoiFilters(); } public void hidePoiFilters() { selectedPoiFilters.clear(); + saveSelectedPoiFilters(); } public String getFiltersName(Set filters) {