Merge pull request #4356 from osmandapp/fix_add_to_gpx

Fix add to gpx track
This commit is contained in:
vshcherb 2017-08-29 16:24:34 +02:00 committed by GitHub
commit c4c9528d3e

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