From df6aac0df27bd4231ad54cbdf63e6bf058ee3165 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 16 Jan 2015 21:02:03 +0100 Subject: [PATCH] re-instate old fix --- .../plus/activities/search/SearchCityByNameActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java index 2f48f356eb..ba1b14d736 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java @@ -183,9 +183,9 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation()); // Issue 2535: Disabling the next 3 lines fixes the issue of the Search City dialogue becoming non-functional after the first tapping on a found village (not city) // but then the issue is still present once a neighborhood street is selected on the Search Street screen - if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) { - region.addCityToPreloadedList((City) obj); - } + //if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) { + // region.addCityToPreloadedList((City) obj); + //} quitActivity(SearchStreetByNameActivity.class); }