This commit is contained in:
crimean 2019-03-05 17:36:01 +03:00
parent a6cc3d896b
commit d269859921

View file

@ -307,11 +307,7 @@ public abstract class QuickSearchListFragment extends OsmAndListFragment {
latitude, longitude, searchType);
dialogFragment.dismiss();
if (searchType == QuickSearchType.HOME_POINT || searchType == QuickSearchType.WORK_POINT) {
mapActivity.getMapLayers().getMapControlsLayer().showDialog();
} else {
mapActivity.getMapLayers().getMapControlsLayer().doNavigate();
}
mapActivity.getMapLayers().getMapControlsLayer().showDialog();
} else {
app.getSettings().setMapLocationToShow(latitude, longitude, zoom, pointDescription, true, object);
MapActivity.launchMapActivityMoveToTop(mapActivity);