Browse Source

Merge pull request #8185 from DonLakeFlyer/VehicleClearFailure

Vehicle clear failure
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
1825eb43d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/PlanView/CameraSection.qml
  2. 4
      src/QmlControls/DropPanel.qml

3
src/PlanView/CameraSection.qml

@ -103,13 +103,12 @@ Column { @@ -103,13 +103,12 @@ Column {
rowSpacing: 0
columns: 3
Item { width: 1; height: 1 }
QGCLabel { text: qsTr("Gimbal") }
QGCLabel { text: qsTr("Pitch") }
QGCLabel { text: qsTr("Yaw") }
QGCCheckBox {
id: gimbalCheckBox
text: qsTr("Gimbal")
checked: _camera.specifyGimbal
onClicked: _camera.specifyGimbal = checked
Layout.fillWidth: true

4
src/QmlControls/DropPanel.qml

@ -63,7 +63,9 @@ Item { @@ -63,7 +63,9 @@ Item {
if (visible) {
visible = false
_dropDownComponent = undefined
toolStrip.lastClickedButton.checked = false
if (toolStrip.lastClickedButton) {
toolStrip.lastClickedButton.checked = false
}
}
}

Loading…
Cancel
Save