diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java index 012cf831e8..9e48b47075 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java @@ -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(); }