From 348148cf2302a08d04b05cdeaf916fb42ff64809 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Tue, 29 Aug 2017 17:17:59 +0300 Subject: [PATCH] Fix add to gpx track --- .../osmand/plus/measurementtool/MeasurementToolFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java index 36b7f92c5b..d5b5d9a0d8 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java @@ -820,7 +820,7 @@ public class MeasurementToolFragment extends Fragment { gpxFile = result[0]; SelectedGpxFile selectedGpxFile = mapActivity.getMyApplication().getSelectedGpxHelper().getSelectedFileByPath(gpxFile.path); boolean showOnMap = selectedGpxFile != null; - saveExistingGpx(gpxFile, showOnMap, null, false); + saveExistingGpx(gpxFile, showOnMap, ActionType.ADD_SEGMENT, false); } return true; }