Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-02-19 00:24:23 +01:00
commit 29aab3a3a9

View file

@ -48,7 +48,7 @@ public class PoiLegacyFilter {
public PoiLegacyFilter(PoiCategory type, OsmandApplication application){ public PoiLegacyFilter(PoiCategory type, OsmandApplication application){
this.app = application; this.app = application;
isStandardFilter = true; isStandardFilter = true;
filterId = STD_PREFIX + type; filterId = STD_PREFIX + (type == null? null: type.getName());
poiTypes = application.getPoiTypes(); poiTypes = application.getPoiTypes();
name = type == null ? application.getString(R.string.poi_filter_closest_poi) : type.getTranslation(); //$NON-NLS-1$ name = type == null ? application.getString(R.string.poi_filter_closest_poi) : type.getTranslation(); //$NON-NLS-1$
if (type == null) { if (type == null) {