diff --git a/src/AutoPilotPlugins/PX4/SafetyComponent.qml b/src/AutoPilotPlugins/PX4/SafetyComponent.qml index 6fe216796add2c4e74ae2aebdc878709e5c05cb9..58e79135a552986ea84928bfed3c77721d1ef134 100644 --- a/src/AutoPilotPlugins/PX4/SafetyComponent.qml +++ b/src/AutoPilotPlugins/PX4/SafetyComponent.qml @@ -100,7 +100,7 @@ QGCView { spacing: _margins * 0.5 anchors.verticalCenter: parent.verticalCenter Row { - visible: !controller.fixedWing + visible: !controller.vehicle.fixedWing QGCLabel { anchors.baseline: lowBattCombo.baseline width: _middleRowWidth @@ -364,7 +364,7 @@ QGCView { sourceSize.width: width mipmap: true fillMode: Image.PreserveAspectFit - source: controller.fixedWing ? "/qmlimages/ReturnToHomeAltitude.svg" : "/qmlimages/ReturnToHomeAltitudeCopter.svg" + source: controller.vehicle.fixedWing ? "/qmlimages/ReturnToHomeAltitude.svg" : "/qmlimages/ReturnToHomeAltitudeCopter.svg" anchors.verticalCenter: parent.verticalCenter } Item { width: _margins * 0.5; height: 1; } @@ -479,7 +479,7 @@ QGCView { sourceSize.width: width mipmap: true fillMode: Image.PreserveAspectFit - source: controller.fixedWing ? "/qmlimages/LandMode.svg" : "/qmlimages/LandModeCopter.svg" + source: controller.vehicle.fixedWing ? "/qmlimages/LandMode.svg" : "/qmlimages/LandModeCopter.svg" anchors.verticalCenter: parent.verticalCenter } Item {