mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Disable sync button while in progress
Need to show a bit more feedback I think. Let's see what the design said... Contributes to issue CURA-8609.
This commit is contained in:
parent
9729f4f3d2
commit
e7b49ee551
3 changed files with 30 additions and 5 deletions
|
@ -355,6 +355,14 @@ Window
|
|||
anchors.right: parent.right
|
||||
text: catalog.i18nc("@button", "Sync")
|
||||
onClicked: materialManagementModel.exportUpload()
|
||||
enabled:
|
||||
{
|
||||
if(!materialManagementModel)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return materialManagementModel.exportUploadStatus != "uploading";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue