mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Merge branch 'master' into feature-backup-manager
This commit is contained in:
commit
4e90e6c2e3
1 changed files with 4 additions and 2 deletions
|
@ -18,11 +18,13 @@ Column
|
|||
readyLabel: catalog.i18nc("@action:button", "Update")
|
||||
activeLabel: catalog.i18nc("@action:button", "Updating")
|
||||
completeLabel: catalog.i18nc("@action:button", "Updated")
|
||||
readyAction: {
|
||||
readyAction: function() {
|
||||
toolbox.activePackage = model
|
||||
toolbox.update(model.id)
|
||||
}
|
||||
activeAction: toolbox.cancelDownload()
|
||||
activeAction: function() {
|
||||
toolbox.cancelDownload()
|
||||
}
|
||||
// Don't allow installing while another download is running
|
||||
enabled: !(toolbox.isDownloading && toolbox.activePackage != model)
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue