From 9a9716c5792545d5cc07c61c09494baa49ed1f6c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 17 Apr 2017 21:08:47 -0700 Subject: [PATCH] Disabled upload button when sync in progress --- src/PlanView/PlanToolBar.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PlanView/PlanToolBar.qml b/src/PlanView/PlanToolBar.qml index 248a2962e..3570554c0 100644 --- a/src/PlanView/PlanToolBar.qml +++ b/src/PlanView/PlanToolBar.qml @@ -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() -- 2.22.0