Merge pull request #4356 from osmandapp/fix_add_to_gpx
Fix add to gpx track
This commit is contained in:
commit
c4c9528d3e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue