Unverified Commit 153b7739 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7626 from DonLakeFlyer/PreFlightReset

PreFlight Checklist: Expose reset button enable/disable
parents c9948d19 1d8d0db2
......@@ -23,6 +23,10 @@ Rectangle {
property alias model: checkListRepeater.model
function setResetEnabled(resetEnabled) {
resetButton.enabled = resetEnabled
}
property bool _passed: false
function _handleGroupPassedChanged(index, passed) {
......@@ -80,6 +84,7 @@ Rectangle {
font.pointSize: ScreenTools.mediumFontPointSize
}
QGCButton {
id: resetButton
width: 1.2*ScreenTools.defaultFontPixelHeight
height: 1.2*ScreenTools.defaultFontPixelHeight
anchors.right: parent.right
......
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