Fix processing points after saving

This commit is contained in:
PavelRatushny 2017-08-09 18:37:30 +03:00
parent ccccf81330
commit aa35e2cb1a

View file

@ -576,8 +576,10 @@ public class MeasurementToolFragment extends Fragment {
}
if (showOnMap) {
SelectedGpxFile sf = activity.getMyApplication().getSelectedGpxHelper().selectGpxFile(gpx, true, false);
if (newGpxLine != null && sf != null) {
sf.processPoints();
}
}
return res;
}
return null;