mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:49:04 +08:00
Show material by its displayname instead of its color
This commit is contained in:
parent
82f6f20bc1
commit
42010e34d2
@ -68,7 +68,7 @@ UM.ManagementPage
|
|||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: (model.name != model.metadata.material) ? model.metadata.color_name : ""
|
text: (model.name != model.metadata.material) ? model.name : ""
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.italic: model.id == activeId
|
font.italic: model.id == activeId
|
||||||
color: isCurrentItem ? palette.highlightedText : palette.text;
|
color: isCurrentItem ? palette.highlightedText : palette.text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user