Skip to content

Commit c1a85b0

Browse files
VehicleMapItem.qml: fix qml warning
1 parent a2d7d18 commit c1a85b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FlightMap/MapItems/VehicleMapItem.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ MapQuickItem {
4545
opacity: _adsbVehicle || vehicle === _activeVehicle ? 1.0 : 0.5
4646

4747
Repeater {
48-
model: vehicle.gimbalController.gimbals
48+
model: vehicle ? vehicle.gimbalController.gimbals : []
4949

5050
Item {
5151
id: canvasItem

0 commit comments

Comments
 (0)