From 83c7f833d74bf8a8157947acc47c6befd7c9a5a0 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Thu, 14 Mar 2019 17:18:59 +0200 Subject: [PATCH] pr fixes #6222, #6140 --- .../osmand/plus/measurementtool/MeasurementToolFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java index 0cad96ecca..a20bb76073 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java @@ -414,8 +414,8 @@ public class MeasurementToolFragment extends BaseOsmAndFragment { @Override public void onClick(View v) { if (editingCtx.getPointsCount() > 0) { - if (newGpxData != null && newGpxData.getActionType() - == NewGpxData.ActionType.EDIT_SEGMENT && editingCtx.isInSnapToRoadMode()) { + if (newGpxData != null && newGpxData.getActionType() == NewGpxData.ActionType.EDIT_SEGMENT + && editingCtx.isInSnapToRoadMode()) { if (mapActivity != null && measurementLayer != null) { if (editingCtx.getPointsCount() > 0) { openSaveAsNewTrackMenu(mapActivity);