Browse Source

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

QGC4.4
Gus Grubba 7 years ago
parent
commit
cbcd0ffb06
  1. 2
      src/ui/preferences/GeneralSettings.qml

2
src/ui/preferences/GeneralSettings.qml

@ -504,7 +504,7 @@ QGCView { @@ -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: {

Loading…
Cancel
Save