mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Disabled download button on pluginbrowser for plugins that are already installed
CURA-3856
This commit is contained in:
parent
d815c2afcf
commit
051ce5e9f4
1 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,7 @@ UM.Dialog
|
|||
height: 20
|
||||
value: manager.downloadProgress
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
SystemPalette { id: palette }
|
||||
|
@ -62,9 +63,10 @@ UM.Dialog
|
|||
}
|
||||
Button
|
||||
{
|
||||
text: "Download"
|
||||
text: enabled ? "Download" : "Already Installed"
|
||||
onClicked: manager.downloadAndInstallPlugin(model.file_location)
|
||||
anchors.right: parent.right
|
||||
enabled: !model.already_installed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue