From bf733d2c55c70811d6a6998464025b2b217d0b6c Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Tue, 19 Mar 2019 13:07:34 +0200 Subject: [PATCH] Issue #6656 (Fixed where "replace start" were adding old start point as intermediate) --- .../plus/dialogs/AddWaypointBottomSheetDialogFragment.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/AddWaypointBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/dialogs/AddWaypointBottomSheetDialogFragment.java index 771f673ee5..e619f9f531 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/AddWaypointBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/AddWaypointBottomSheetDialogFragment.java @@ -63,11 +63,6 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF .setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - TargetPoint start = targetPointsHelper.getPointToStart(); - if (start != null) { - targetPointsHelper.navigateToPoint(new LatLon(start.getLatitude(), start.getLongitude()), - false, 0, start.getOriginalPointDescription()); - } targetPointsHelper.setStartPoint(latLon, true, name); dismiss(); }