mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Plugin browser now shows difference between new & upgradable plugins
CURA-3856
This commit is contained in:
parent
b2a21f0443
commit
68663b2789
2 changed files with 15 additions and 7 deletions
|
@ -59,14 +59,13 @@ UM.Dialog
|
|||
text: model.name
|
||||
width: contentWidth
|
||||
}
|
||||
|
||||
}
|
||||
Button
|
||||
{
|
||||
text: !model.already_installed ? "Download" : "Already Installed"
|
||||
text: !model.already_installed ? "Download" : model.can_upgrade ? "Upgrade" : "Download"
|
||||
onClicked: manager.downloadAndInstallPlugin(model.file_location)
|
||||
anchors.right: parent.right
|
||||
enabled: !model.already_installed && !manager.isDownloading
|
||||
enabled: (!model.already_installed || model.can_upgrade) && !manager.isDownloading
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue