Fix processing points after saving
This commit is contained in:
parent
ccccf81330
commit
aa35e2cb1a
1 changed files with 3 additions and 1 deletions
|
@ -576,7 +576,9 @@ public class MeasurementToolFragment extends Fragment {
|
|||
}
|
||||
if (showOnMap) {
|
||||
SelectedGpxFile sf = activity.getMyApplication().getSelectedGpxHelper().selectGpxFile(gpx, true, false);
|
||||
sf.processPoints();
|
||||
if (newGpxLine != null && sf != null) {
|
||||
sf.processPoints();
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue