diff --git a/src/AutoPilotPlugins/PX4/PowerComponent.qml b/src/AutoPilotPlugins/PX4/PowerComponent.qml index 986359e9b815423cd4270a00df5d33b74b6d0cfb..ef0f665be9cfbd1b18fb417120bf14495ec207db 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 {