From 80631b192b23d3d4c45d3f4a9b6ba4c2870ad287 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Tue, 3 May 2016 08:54:01 -0400 Subject: [PATCH] Fixing Fact name typo. --- src/AutoPilotPlugins/PX4/PowerComponent.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/PowerComponent.qml b/src/AutoPilotPlugins/PX4/PowerComponent.qml index 27e2a8abe..82068919e 100644 --- a/src/AutoPilotPlugins/PX4/PowerComponent.qml +++ b/src/AutoPilotPlugins/PX4/PowerComponent.qml @@ -46,7 +46,7 @@ QGCView { property Fact battHighVolt: controller.getParameterFact(-1, "BAT_V_CHARGED") property Fact battLowVolt: controller.getParameterFact(-1, "BAT_V_EMPTY") property Fact battVoltLoadDrop: controller.getParameterFact(-1, "BAT_V_LOAD_DROP") - property Fact uavcanEnable: controller.getParameterFact(-1, "UAVCAN_ENABLE", false) + property Fact uavcanEnable: controller.getParameterFact(-1, "UAVCAN_ENABLE", false) readonly property string highlightPrefix: "" readonly property string highlightSuffix: "" @@ -269,8 +269,8 @@ QGCView { } QGCCheckBox { - id: showUAVCAN - text: qsTr("Show UAVCAN Settings") + id: showUAVCAN + text: qsTr("Show UAVCAN Settings") visible: uavcanEnable !== -1 } @@ -296,7 +296,7 @@ QGCView { FactCheckBox { id: uavcanEnabledCheckBox width: ScreenTools.defaultFontPixelWidth * 20 - fact: _uavcanEnabled + fact: uavcanEnable checkedValue: 3 uncheckedValue: 0 text: qsTr("Enable UAVCAN as the default MAIN output bus (requires autopilot restart)") -- 2.22.0