Fix add to gpx track

This commit is contained in:
PavelRatushny 2017-08-29 17:17:59 +03:00
parent 3f9b2b67bc
commit 348148cf23

View file

@ -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;
}