mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 23:13:13 +08:00
Merge branch 'not_activate_when_no_materials' of github.com:Ultimaker/Cura
This commit is contained in:
commit
a51289d7ce
@ -83,7 +83,7 @@ Item
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Activate")
|
||||
iconName: "list-activate"
|
||||
enabled: !isCurrentItemActivated
|
||||
enabled: !isCurrentItemActivated && Cura.MachineManager.hasMaterials
|
||||
onClicked:
|
||||
{
|
||||
forceActiveFocus()
|
||||
|
Loading…
x
Reference in New Issue
Block a user