From b119ca468b4bcbfe1a1d5565fa6d7dba7e72d770 Mon Sep 17 00:00:00 2001 From: Maciej Maj Date: Fri, 6 Jul 2018 13:26:24 +0200 Subject: [PATCH] Fixed bug with incorrect activities grouping --- Arc-app-export-converter/XmlReader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arc-app-export-converter/XmlReader.cs b/Arc-app-export-converter/XmlReader.cs index 611e3de..cce0c08 100644 --- a/Arc-app-export-converter/XmlReader.cs +++ b/Arc-app-export-converter/XmlReader.cs @@ -145,7 +145,7 @@ public Activity(ActivityType activity, Coordinates[] waypoints) { } public void MargeWithNew(Coordinates[] waypoints) { - List tempMerge = waypoints.ToList(); + List tempMerge = this.waypoints.ToList(); foreach (var item in waypoints) { tempMerge.Add(item); } @@ -221,7 +221,7 @@ public void LoadFile(string path = "file.gpx") { SetStartEnd(); SetSummary(); - //Display(); + Display(); } void GetPlace(string line, StreamReader sr) { XmlTimeline.Coordinates location = HelpMethods.GetLatLon(line);