Fix showing are you sure dialog
This commit is contained in:
parent
42d2cd8ade
commit
9e46bb185c
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ public class MeasurementToolFragment extends Fragment {
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue