Issue #6656 (Fixed where "replace start" were adding old start point as intermediate)
This commit is contained in:
parent
0c8ce1270a
commit
bf733d2c55
1 changed files with 0 additions and 5 deletions
|
@ -63,11 +63,6 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
.setOnClickListener(new View.OnClickListener() {
|
.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
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);
|
targetPointsHelper.setStartPoint(latLon, true, name);
|
||||||
dismiss();
|
dismiss();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue