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:
Lipu Fei 2017-07-13 13:42:51 +02:00 committed by GitHub
commit 6d647e59cb

View File

@ -74,7 +74,8 @@ Item
Repeater
{
id: extruders
model: Cura.ExtrudersModel { id: extrudersModel }
property var _model: Cura.ExtrudersModel { id: extrudersModel }
model: _model.items.length > 1 ? _model : 0
ExtruderButton { extruder: model }
}
}