diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java index 73d033c650..72389cd492 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java @@ -477,6 +477,7 @@ public class MapActivityLayers { filterId = PoiFiltersHelper.getOsmDefinedFilterId(AmenityType.values()[which - userDefined.size() - 1]); } if(filterId.equals(PoiFilter.CUSTOM_FILTER_ID)){ + getApplication().getSettings().setPoiFilterForMap(filterId); Intent newIntent = new Intent(activity, EditPOIFilterActivity.class); newIntent.putExtra(EditPOIFilterActivity.AMENITY_FILTER, filterId); newIntent.putExtra(EditPOIFilterActivity.SEARCH_LAT, mapView.getLatitude());