From 7febd2971e57094ecf7194c8044f174570d2d272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 15 Feb 2023 01:40:28 +0100 Subject: [PATCH] Fixed GeoJSON waypoint properties parsing --- src/data/geojsonparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/geojsonparser.cpp b/src/data/geojsonparser.cpp index d1172c64..bcc2c91a 100644 --- a/src/data/geojsonparser.cpp +++ b/src/data/geojsonparser.cpp @@ -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())