LegacyUM3 now correctly gets material set

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-21 16:26:17 +01:00
parent e3d07f1806
commit d8b12be5e4
2 changed files with 24 additions and 4 deletions

View file

@ -136,7 +136,7 @@ Item
Label //Material name.
{
id: materialName
text: extruderModel.activeMaterial != null ? extruderModel.activeMaterial.name : ""
text: extruderModel.activeMaterial != null ? extruderModel.activeMaterial.type : ""
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
anchors.left: materialColor.right