Fix showing are you sure dialog

This commit is contained in:
PavelRatushny 2017-08-21 16:23:19 +03:00
parent 42d2cd8ade
commit 9e46bb185c

View file

@ -474,7 +474,7 @@ public class MeasurementToolFragment extends Fragment {
} }
if (saved == null) { if (saved == null) {
saved = newGpxLine != null && newGpxLine.getLineType() == LineType.ADD_ROUTE_POINTS; saved = newGpxLine != null && (newGpxLine.getLineType() == LineType.ADD_ROUTE_POINTS || newGpxLine.getLineType() == LineType.EDIT_SEGMENT);
} }
return view; return view;