mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Download buttons are now disabled when another plugin is being downloaded
CURA-3856
This commit is contained in:
parent
051ce5e9f4
commit
a4e353c830
2 changed files with 18 additions and 4 deletions
|
@ -8,7 +8,7 @@ UM.Dialog
|
|||
{
|
||||
id: base
|
||||
|
||||
title: "YAY"
|
||||
title: "Find & Update plugins"
|
||||
width: 450
|
||||
height: 150
|
||||
ScrollView
|
||||
|
@ -63,10 +63,10 @@ UM.Dialog
|
|||
}
|
||||
Button
|
||||
{
|
||||
text: enabled ? "Download" : "Already Installed"
|
||||
text: !model.already_installed ? "Download" : "Already Installed"
|
||||
onClicked: manager.downloadAndInstallPlugin(model.file_location)
|
||||
anchors.right: parent.right
|
||||
enabled: !model.already_installed
|
||||
enabled: !model.already_installed && !manager.isDownloading
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue