Skip to content
Snippets Groups Projects
Commit 9a9716c5 authored by Don Gagne's avatar Don Gagne
Browse files

Disabled upload button when sync in progress

parent 2e400746
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment