Commit 9f9a34ea authored by Lorenz Meier's avatar Lorenz Meier

Guard against param not existing

parent 7b5bce56
......@@ -198,7 +198,7 @@ Item {
spacing: ScreenTools.defaultFontPixelWidth
property Fact fact: controller.getParameterFact(-1, "RC_MAP_TRANS_SW")
visible: (controller.vehicle.vtol)
visible: (controller.vehicle.vtol && controller.parameterExists(-1, "RC_MAP_TRANS_SW"))
QGCLabel {
anchors.baseline: vtolCombo.baseline
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment