Small fix

This commit is contained in:
Alexey Kulish 2016-02-27 14:47:14 +03:00
parent 542dd99d23
commit 4ded35ea43

View file

@ -603,7 +603,9 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
m.getPointDescription(mapActivity));
targetPoints.add(t);
}
targetPointsHelper.reorderAllTargetPoints(targetPoints, false);
RoutingHelper routingHelper = mapActivity.getRoutingHelper();
boolean updateRoute = routingHelper.isFollowingMode() || routingHelper.isRoutePlanningMode();
targetPointsHelper.reorderAllTargetPoints(targetPoints, updateRoute);
hasTargets = true;
} else {
targetPointsHelper.clearStartPoint(false);