From 571c8393efb5ec955883929bfa18255e34e451fb Mon Sep 17 00:00:00 2001 From: janbar Date: Mon, 30 Oct 2023 18:47:58 +0100 Subject: [PATCH] fix bad type specified for recording overlay --- gui/controls2_515/components/OverlayManager.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/controls2_515/components/OverlayManager.qml b/gui/controls2_515/components/OverlayManager.qml index 25e879d5..9016efd8 100644 --- a/gui/controls2_515/components/OverlayManager.qml +++ b/gui/controls2_515/components/OverlayManager.qml @@ -132,7 +132,7 @@ QtObject { // remove the recording track on the map function removeRecording() { - var ovs = MapExtras.clearOverlays("WAYPOINT", id); + var ovs = MapExtras.clearOverlays("RECORDING", 0); ovs.forEach(function(e){ map.removeOverlayObject(e); }); MapExtras.releaseOverlayIds(ovs); return true;