Skip to content

Commit

Permalink
fix bad type specified for recording overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Oct 30, 2023
1 parent 85db3dd commit 571c839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/controls2_515/components/OverlayManager.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 571c839

Please sign in to comment.