mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 02:36:02 +08:00
CURA-4400 grey out disabled extruder in context menu
This commit is contained in:
parent
1dba5629f7
commit
4b060f297f
@ -31,7 +31,7 @@ Menu
|
|||||||
MenuItem {
|
MenuItem {
|
||||||
text: "%1: %2 - %3".arg(model.name).arg(model.material).arg(model.variant)
|
text: "%1: %2 - %3".arg(model.name).arg(model.material).arg(model.variant)
|
||||||
visible: base.shouldShowExtruders
|
visible: base.shouldShowExtruders
|
||||||
enabled: UM.Selection.hasSelection
|
enabled: UM.Selection.hasSelection && model.enabled
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: Cura.ExtruderManager.selectedObjectExtruders.indexOf(model.id) != -1
|
checked: Cura.ExtruderManager.selectedObjectExtruders.indexOf(model.id) != -1
|
||||||
onTriggered: CuraActions.setExtruderForSelection(model.id)
|
onTriggered: CuraActions.setExtruderForSelection(model.id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user