Commit 9a9716c5 authored by Don Gagne's avatar Don Gagne

Disabled upload button when sync in progress

parent 2e400746
......@@ -111,7 +111,6 @@ Rectangle {
}
}
RowLayout {
anchors.top: parent.top
anchors.bottom: parent.bottom
......@@ -247,7 +246,7 @@ Rectangle {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
text: missionController ? (missionController.dirty ? qsTr("Upload Required") : qsTr("Upload")) : ""
enabled: _activeVehicle
enabled: _activeVehicle && !missionController.syncInProgress
visible: _activeVehicle && _manualUpload
onClicked: missionController.upload()
......
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