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;
centerLatLon = null;
updateUseMapCenterUI();
startLocationUpdate();
LatLon centerLatLon = new LatLon(location.getLatitude(), location.getLongitude());
SearchSettings ss = searchUICore.getSearchSettings().setOriginalLocation(
new LatLon(centerLatLon.getLatitude(), centerLatLon.getLongitude()));
searchUICore.updateSettings(ss);
updateClearButtonAndHint();
updateClearButtonVisibility(true);
startLocationUpdate();
}
updateToolbarButton();
}