diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java index d8228aa104..a3f8aa5aa3 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java @@ -1185,6 +1185,11 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis newRouteIsCalculated(false, new ValueHolder()); getMyApplication().getTargetPointsHelper().updateRouteAndReferesh(true); + //Issue 2136(b) + if (mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() == null) { + mapActivity.getMapActions().stopNavigationWithoutConfirm(); + } + if (swipeDismissListener != null) { swipeDismissListener.setEnabled(true); } @@ -1223,10 +1228,6 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis public void deleteWaypoint(int position) { if (swipeDismissListener != null) { swipeDismissListener.delete(position); - //Issue 2136(b) - if (mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() == null) { - mapActivity.getMapActions().stopNavigationWithoutConfirm(); - } } } }