From a704b2100d86a68b2b5a48dea97a623236a44daf Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 29 Aug 2020 13:59:50 +0300 Subject: [PATCH] Remove unnecessary changes --- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index ce6cfb5e4a..5195f7e77c 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -511,7 +511,7 @@ public class MapActivityActions implements DialogProvider { TargetPointsHelper tg = mapActivity.getMyApplication().getTargetPointsHelper(); tg.clearStartPoint(false); Location finishLoc = ps.get(ps.size() - 1); - PointDescription point = new PointDescription(PointDescription.POINT_TYPE_GPX, result.path, ""); + PointDescription point = new PointDescription(PointDescription.POINT_TYPE_LOCATION, result.path, ""); point.setName(PointDescription.getSearchAddressStr(mapActivity)); tg.navigateToPoint(new LatLon(finishLoc.getLatitude(), finishLoc.getLongitude()), false, -1, point); }