mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:25:56 +08:00
Fix null warning in QML
CURA-5943
This commit is contained in:
parent
bf8a04fa40
commit
698409803d
@ -70,7 +70,7 @@ Column
|
|||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: materialLabel
|
id: materialLabel
|
||||||
text: printCoreConfiguration.material.name
|
text: printCoreConfiguration.material == null ? "" : printCoreConfiguration.material.name
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user