Commit d6715f55 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5302 from DonLakeFlyer/UploadHide

Plan: Better user model for Upload button
parents 5b96a14f 383252e7
...@@ -300,8 +300,8 @@ Rectangle { ...@@ -300,8 +300,8 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
text: _controllerDirty ? qsTr("Upload Required") : qsTr("Upload") text: _controllerDirty ? qsTr("Upload Required") : qsTr("Upload")
enabled: !_controllerSyncInProgress enabled: !_controllerSyncInProgress
visible: !_controllerOffline visible: !_controllerOffline && !_controllerSyncInProgress && !uploadCompleteText.visible
primary: _controllerDirty && !_controllerSyncInProgress primary: _controllerDirty
onClicked: planMasterController.upload() onClicked: planMasterController.upload()
PropertyAnimation on opacity { PropertyAnimation on opacity {
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