When an printer gets added / removed, this is now correctly shown

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-30 15:01:28 +01:00
parent 339d7ca4c9
commit 1c1c195b93
3 changed files with 23 additions and 3 deletions

View file

@ -15,7 +15,7 @@ Item
Label
{
id: materialLabel
text: printCoreConfiguration.activeMaterial.name
text: printCoreConfiguration.activeMaterial != null ? printCoreConfiguration.activeMaterial.name : ""
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("very_small")