From ece96a1b18bc51218ccc6c32eff2f3f3d8c980d4 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 3 Jun 2015 16:23:36 +0200 Subject: [PATCH] Fix bug with POI https://github.com/osmandapp/Osmand/issues/1221 --- .../net/osmand/plus/activities/search/SearchPOIActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java index d468d7f0ca..cfba9e3ac3 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java @@ -409,6 +409,9 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa } else { this.filter.updateTypesToAccept(custom); } + filter.clearPreviousZoom(); + // run query again + runNewSearchQuery(location, NEW_SEARCH_INIT); } if (filter == null || filter.isEmpty()) { finish();