diff --git a/OsmAnd/src/net/osmand/plus/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java index 208d1d4bf3..ac5b40f613 100644 --- a/OsmAnd/src/net/osmand/plus/GPXUtilities.java +++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java @@ -503,6 +503,7 @@ public class GPXUtilities { public GPXTrackAnalysis getAnalysis(long fileTimestamp) { GPXTrackAnalysis g = new GPXTrackAnalysis(); g.wptPoints = points.size(); + g.totalTracks = 0; List splitSegments = new ArrayList(); for(int i = 0; i< tracks.size() ; i++){ Track subtrack = tracks.get(i);