mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Disable the activate button if the machine is already active
Fixes #8643
This commit is contained in:
parent
6799e3fd7d
commit
cc29ffa40e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ UM.ManagementPage
|
|||
id: activateMenuButton
|
||||
text: catalog.i18nc("@action:button", "Activate");
|
||||
iconName: "list-activate";
|
||||
enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMaterialId
|
||||
enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMachine.id
|
||||
onClicked: Cura.MachineManager.setActiveMachine(base.currentItem.id)
|
||||
},
|
||||
Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue