mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed CUP task parsing
This commit is contained in:
parent
b91358a6bd
commit
30518cebc0
@ -151,7 +151,7 @@ bool CUPParser::parse(QFile *file, QList<TrackData> &tracks,
|
||||
if (!waypoint(entry, waypoints))
|
||||
return false;
|
||||
} else if (segment == Tasks) {
|
||||
if (entry.at(0) != "Options" && entry.at(0) != "ObsZone"
|
||||
if (entry.at(0) != "Options" && !entry.at(0).startsWith("ObsZone=")
|
||||
&& !task(entry, waypoints, routes))
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user