diff --git a/src/ui/toolbar/GPSRTKIndicator.qml b/src/ui/toolbar/GPSRTKIndicator.qml index 4ff4f74..5af5598 100644 --- a/src/ui/toolbar/GPSRTKIndicator.qml +++ b/src/ui/toolbar/GPSRTKIndicator.qml @@ -23,7 +23,7 @@ Item { anchors.top: parent.top anchors.bottom: parent.bottom - property bool showIndicator: QGroundControl.gpsRtk.connected.value + property bool showIndicator: QGroundControl.gpsRtk ? QGroundControl.gpsRtk.connected.value : false Component { id: gpsInfo