mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Hide the extruder button for Custom FDM Printers with 1 extruder
This commit is contained in:
parent
391533e939
commit
82d3a98f95
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue