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 {
rowSpacing: 0 rowSpacing: 0
columns: 3 columns: 3
Item { width: 1; height: 1 } QGCLabel { text: qsTr("Gimbal") }
QGCLabel { text: qsTr("Pitch") } QGCLabel { text: qsTr("Pitch") }
QGCLabel { text: qsTr("Yaw") } QGCLabel { text: qsTr("Yaw") }
QGCCheckBox { QGCCheckBox {
id: gimbalCheckBox id: gimbalCheckBox
text: qsTr("Gimbal")
checked: _camera.specifyGimbal checked: _camera.specifyGimbal
onClicked: _camera.specifyGimbal = checked onClicked: _camera.specifyGimbal = checked
Layout.fillWidth: true Layout.fillWidth: true

4
src/QmlControls/DropPanel.qml

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

Loading…
Cancel
Save