Try in different place

This commit is contained in:
sonora 2016-01-13 11:52:28 +01:00
parent c0ff984127
commit ec81f45ee8

View file

@ -1185,6 +1185,11 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
newRouteIsCalculated(false, new ValueHolder<Boolean>());
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();
}
}
}
}