Commit cbcd0ffb authored by Gus Grubba's avatar Gus Grubba

Don't access value if property doesn't exist.

parent ea55acec
......@@ -504,7 +504,7 @@ QGCView {
Item { width: rtkGrid.firstColWidth; height: 1 }
QGCButton {
text: qsTr("Save Current Base Position")
enabled: QGroundControl.gpsRtk.valid.value
enabled: QGroundControl.gpsRtk && QGroundControl.gpsRtk.valid.value
Layout.columnSpan: 2
onClicked: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment