Fix issue with custom filter

This commit is contained in:
Victor Shcherb 2012-06-24 13:18:19 +02:00
parent 08e81d9f18
commit dc36ac7e9e

View file

@ -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());