mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 09:59:00 +08:00
Disabled download button on pluginbrowser for plugins that are already installed
CURA-3856
This commit is contained in:
parent
d815c2afcf
commit
051ce5e9f4
@ -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…
x
Reference in New Issue
Block a user