Show material by its displayname instead of its color

This commit is contained in:
fieldOfView 2016-08-30 18:30:45 +02:00
parent 82f6f20bc1
commit 42010e34d2

View file

@ -68,7 +68,7 @@ UM.ManagementPage
}
Label
{
text: (model.name != model.metadata.material) ? model.metadata.color_name : ""
text: (model.name != model.metadata.material) ? model.name : ""
elide: Text.ElideRight
font.italic: model.id == activeId
color: isCurrentItem ? palette.highlightedText : palette.text;