From 0f944190faba3b6df37f914268ed7ba51278491b Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Wed, 21 Feb 2018 07:44:27 -0500 Subject: [PATCH] One last one --- src/AutoPilotPlugins/PX4/PowerComponent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/PX4/PowerComponent.qml b/src/AutoPilotPlugins/PX4/PowerComponent.qml index 986359e9b..ef0f665be 100644 --- a/src/AutoPilotPlugins/PX4/PowerComponent.qml +++ b/src/AutoPilotPlugins/PX4/PowerComponent.qml @@ -379,7 +379,7 @@ SetupPage { QGCCheckBox { id: showUAVCAN text: qsTr("Show UAVCAN Settings") - checked: uavcanEnable.rawValue !== 0 + checked: uavcanEnable ? uavcanEnable.rawValue !== 0 : false } QGCGroupBox { -- 2.22.0