Remove unnecessary

This commit is contained in:
androiddevkkotlin 2020-11-22 23:15:15 +02:00
parent 7420aa8376
commit 5737846b88

View file

@ -751,7 +751,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment implements Route
MapActivity mapActivity = getMapActivity(); MapActivity mapActivity = getMapActivity();
if (mapActivity != null) { if (mapActivity != null) {
if (editingCtx.getPointsCount() > 0) { if (editingCtx.getPointsCount() > 0) {
if (editingCtx.isNewData() || isInEditMode()) { if (editingCtx.isNewData()) {
if (showDialog) { if (showDialog) {
openSaveAsNewTrackMenu(mapActivity); openSaveAsNewTrackMenu(mapActivity);
} else { } else {