Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-11-01 10:13:57 +01:00
commit 2372c40a70

View file

@ -479,13 +479,13 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC
useMapCenter = false; useMapCenter = false;
centerLatLon = null; centerLatLon = null;
updateUseMapCenterUI(); updateUseMapCenterUI();
startLocationUpdate();
LatLon centerLatLon = new LatLon(location.getLatitude(), location.getLongitude()); LatLon centerLatLon = new LatLon(location.getLatitude(), location.getLongitude());
SearchSettings ss = searchUICore.getSearchSettings().setOriginalLocation( SearchSettings ss = searchUICore.getSearchSettings().setOriginalLocation(
new LatLon(centerLatLon.getLatitude(), centerLatLon.getLongitude())); new LatLon(centerLatLon.getLatitude(), centerLatLon.getLongitude()));
searchUICore.updateSettings(ss); searchUICore.updateSettings(ss);
updateClearButtonAndHint(); updateClearButtonAndHint();
updateClearButtonVisibility(true); updateClearButtonVisibility(true);
startLocationUpdate();
} }
updateToolbarButton(); updateToolbarButton();
} }