Set path to gpx
This commit is contained in:
parent
eb0a501873
commit
727b9c543b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue