1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Fixed GeoJSON waypoint properties parsing

This commit is contained in:
Martin Tůma 2023-02-15 01:40:28 +01:00
parent 211ff46487
commit 7febd2971e

View File

@ -83,7 +83,7 @@ static void setWaypointProperties(Waypoint &waypoint,
QColor color(0x7e, 0x7e, 0x7e);
int size = MARKER_SIZE_MEDIUM;
if (!properties.isObject()) {
if (properties.isObject()) {
QJsonObject o(properties.toObject());
if (o["name"].isString())