Fix QML warnings

This commit is contained in:
Lipu Fei 2018-03-14 11:05:32 +01:00
parent 8efc3b8b5d
commit f5f8bf19ec
2 changed files with 7 additions and 2 deletions

View file

@ -101,7 +101,7 @@ UM.Dialog
}
Label
{
text: Cura.MachineManager.activeMachine.definition.name
text: (Cura.MachineManager.activeMachine == null) ? "" : Cura.MachineManager.activeMachine.definition.name
width: (parent.width / 3) | 0
}
}