mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Do not allow the user to activate a material if the printer is not
defined to have materials. Contributes to #4550.
This commit is contained in:
parent
f10bd28c4a
commit
df38e7db85
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ Item
|
|||
{
|
||||
text: catalog.i18nc("@action:button", "Activate")
|
||||
iconName: "list-activate"
|
||||
enabled: !isCurrentItemActivated
|
||||
enabled: !isCurrentItemActivated && Cura.MachineManager.hasMaterials()
|
||||
onClicked:
|
||||
{
|
||||
forceActiveFocus()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue