From 383252e74d3823b284c4929bf702f0f6c6f6cec0 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Fri, 16 Jun 2017 10:33:16 -0700 Subject: [PATCH] Better user model for Upload button --- src/PlanView/PlanToolBar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PlanView/PlanToolBar.qml b/src/PlanView/PlanToolBar.qml index 3da149486..2c6402088 100644 --- a/src/PlanView/PlanToolBar.qml +++ b/src/PlanView/PlanToolBar.qml @@ -300,8 +300,8 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter text: _controllerDirty ? qsTr("Upload Required") : qsTr("Upload") enabled: !_controllerSyncInProgress - visible: !_controllerOffline - primary: _controllerDirty && !_controllerSyncInProgress + visible: !_controllerOffline && !_controllerSyncInProgress && !uploadCompleteText.visible + primary: _controllerDirty onClicked: planMasterController.upload() PropertyAnimation on opacity { -- 2.22.0