diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MainMapView.qml | 2 | ||||
-rw-r--r-- | src/SetPointPage.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/MainMapView.qml b/src/MainMapView.qml index 584fcfd..89b878d 100644 --- a/src/MainMapView.qml +++ b/src/MainMapView.qml @@ -29,7 +29,7 @@ Item { ConfigurationValue { id: waypointSource key: "/map/waypointList" - defaultValue: "" + defaultValue: "[]" onValueChanged: { mapView.updateWaypoints() console.log("value changed") diff --git a/src/SetPointPage.qml b/src/SetPointPage.qml index 234edf0..9501db4 100644 --- a/src/SetPointPage.qml +++ b/src/SetPointPage.qml @@ -12,7 +12,7 @@ Item { ConfigurationValue { id: waypointList key: "/map/waypointList" - defaultValue: "" + defaultValue: "[]" Component.onCompleted: { var waypointArray = JSON.parse(waypointList.value) if (editMode) { |