take out partial fix for easier debugging
This commit is contained in:
parent
b06d2e0b5f
commit
962f111e05
1 changed files with 4 additions and 4 deletions
|
@ -181,10 +181,10 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity<City>
|
|||
@Override
|
||||
public void itemSelected(City obj) {
|
||||
settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation());
|
||||
// Hardy: Looks like 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) ... (while selected village is still remembered on the dialog for future reference!)
|
||||
//if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
||||
// region.addCityToPreloadedList((City) obj);
|
||||
//}
|
||||
// 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)
|
||||
if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
||||
region.addCityToPreloadedList((City) obj);
|
||||
}
|
||||
quitActivity(SearchStreetByNameActivity.class);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue