Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2372c40a70
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue