Fix null warning in QML

CURA-5943
This commit is contained in:
Lipu Fei 2018-11-22 09:07:22 +01:00
parent bf8a04fa40
commit 698409803d

View file

@ -70,7 +70,7 @@ Column
Label
{
id: materialLabel
text: printCoreConfiguration.material.name
text: printCoreConfiguration.material == null ? "" : printCoreConfiguration.material.name
renderType: Text.NativeRendering
elide: Text.ElideRight
width: parent.width