Fix saving snap to road

This commit is contained in:
PavelRatushny 2017-10-17 16:59:38 +03:00
parent 10f803efcf
commit 7f830d74a8

View file

@ -665,7 +665,7 @@ public class MeasurementToolFragment extends Fragment {
return new SaveAsNewTrackFragmentListener() {
@Override
public void saveAsRoutePointOnClick() {
saveAsGpx(SaveType.ROUTE_POINT);
saveAsGpx(editingCtx.isInSnapToRoadMode() ? SaveType.SNAP_TO_ROAD : SaveType.ROUTE_POINT);
}
@Override