Set path to gpx

This commit is contained in:
Alex 2017-08-04 15:09:26 +03:00
parent eb0a501873
commit 727b9c543b

View file

@ -303,6 +303,7 @@ public class MeasurementToolFragment extends Fragment {
if (activity != null) { if (activity != null) {
// todo // todo
String res = GPXUtilities.writeGpxFile(toSave, gpx, activity.getMyApplication()); String res = GPXUtilities.writeGpxFile(toSave, gpx, activity.getMyApplication());
gpx.path = toSave.getAbsolutePath();
if (showOnMap) { if (showOnMap) {
activity.getMyApplication().getSelectedGpxHelper().selectGpxFile(gpx, true, false); activity.getMyApplication().getSelectedGpxHelper().selectGpxFile(gpx, true, false);
} }