mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-28 14:54:27 +08:00
Disable the activate button if the machine is already active
Fixes #8643
This commit is contained in:
parent
6799e3fd7d
commit
cc29ffa40e
@ -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…
x
Reference in New Issue
Block a user