Unverified Commit 1825eb43 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8185 from DonLakeFlyer/VehicleClearFailure

Vehicle clear failure
parents 0ca0c832 82694898
...@@ -103,13 +103,12 @@ Column { ...@@ -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
......
...@@ -63,7 +63,9 @@ Item { ...@@ -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
}
} }
} }
......
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