mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:48:58 +08:00
Merge pull request #2108 from fieldOfView/fix_hide_single_extruder_button
Hide the extruder button for Custom FDM Printers with 1 extruder
This commit is contained in:
commit
6d647e59cb
@ -74,7 +74,8 @@ Item
|
|||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
id: extruders
|
id: extruders
|
||||||
model: Cura.ExtrudersModel { id: extrudersModel }
|
property var _model: Cura.ExtrudersModel { id: extrudersModel }
|
||||||
|
model: _model.items.length > 1 ? _model : 0
|
||||||
ExtruderButton { extruder: model }
|
ExtruderButton { extruder: model }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user