diff --git a/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java b/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java index 5fcb91e40d..1bb939a116 100644 --- a/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java +++ b/OsmAnd/src/net/osmand/plus/GpxSelectionHelper.java @@ -528,9 +528,10 @@ public class GpxSelectionHelper { public void processPoints() { update(); this.processedPointsToDisplay = gpxFile.proccessPoints(); - if (this.processedPointsToDisplay.isEmpty()) { - this.processedPointsToDisplay = gpxFile.processRoutePoints(); - routePoints = !this.processedPointsToDisplay.isEmpty(); + List processedRoutePointsToDisplay = gpxFile.processRoutePoints(); + if (!processedRoutePointsToDisplay.isEmpty()) { + this.processedPointsToDisplay.addAll(processedRoutePointsToDisplay); + routePoints = !processedRoutePointsToDisplay.isEmpty(); } }