fix display correct general information in track context menu after import gpx file

This commit is contained in:
Skalii 2021-02-12 18:31:26 +02:00
parent 8c9004132e
commit b5ccc8bed8

View file

@ -2480,6 +2480,7 @@ public class GPXUtilities {
firstSegment.routeSegments = routeSegments; firstSegment.routeSegments = routeSegments;
firstSegment.routeTypes = routeTypes; firstSegment.routeTypes = routeTypes;
} }
gpxFile.addGeneralTrack();
} catch (Exception e) { } catch (Exception e) {
gpxFile.error = e; gpxFile.error = e;
log.error("Error reading gpx", e); //$NON-NLS-1$ log.error("Error reading gpx", e); //$NON-NLS-1$