From bbf38db329af64230368f4a3535a2475ffcbf368 Mon Sep 17 00:00:00 2001 From: Sergii Lisovenko <2522054+s-lisovenko@users.noreply.github.com> Date: Sun, 3 Mar 2024 09:54:28 +0100 Subject: [PATCH] Fix onClicked callback handling in PlanView.qml --- src/PlanView/PlanView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index fa3a7371a58..cfe79d0e70f 100644 --- a/src/PlanView/PlanView.qml +++ b/src/PlanView/PlanView.qml @@ -412,10 +412,10 @@ Item { model: _missionController.visualItems delegate: MissionItemMapVisual { map: editorMap - onClicked: _missionController.setCurrentPlanViewSeqNum(sequenceNumber, false) opacity: _editingLayer == _layerMission || _editingLayer == _layerUTMSP ? 1 : editorMap._nonInteractiveOpacity interactive: _editingLayer == _layerMission || _editingLayer == _layerUTMSP vehicle: _planMasterController.controllerVehicle + onClicked: (sequenceNumber) => { _missionController.setCurrentPlanViewSeqNum(sequenceNumber, false) } } }