Browse Source

Disabled upload button when sync in progress

QGC4.4
Don Gagne 8 years ago
parent
commit
9a9716c579
  1. 3
      src/PlanView/PlanToolBar.qml

3
src/PlanView/PlanToolBar.qml

@ -111,7 +111,6 @@ Rectangle { @@ -111,7 +111,6 @@ Rectangle {
}
}
RowLayout {
anchors.top: parent.top
anchors.bottom: parent.bottom
@ -247,7 +246,7 @@ Rectangle { @@ -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()

Loading…
Cancel
Save