From c1a85b023be9189422c403ae6609c4a7f9857476 Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Mon, 3 Jun 2024 11:02:42 +0200 Subject: [PATCH] VehicleMapItem.qml: fix qml warning --- src/FlightMap/MapItems/VehicleMapItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FlightMap/MapItems/VehicleMapItem.qml b/src/FlightMap/MapItems/VehicleMapItem.qml index f66915e0060..996052ed493 100644 --- a/src/FlightMap/MapItems/VehicleMapItem.qml +++ b/src/FlightMap/MapItems/VehicleMapItem.qml @@ -45,7 +45,7 @@ MapQuickItem { opacity: _adsbVehicle || vehicle === _activeVehicle ? 1.0 : 0.5 Repeater { - model: vehicle.gimbalController.gimbals + model: vehicle ? vehicle.gimbalController.gimbals : [] Item { id: canvasItem