Skip to content

Commit

Permalink
VehicleMapItem.qml: fix qml warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidsastresas committed Jun 3, 2024
1 parent a2d7d18 commit c1a85b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlightMap/MapItems/VehicleMapItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1a85b0

Please sign in to comment.