Fix QML null warnings

This commit is contained in:
Lipu Fei 2020-02-13 12:26:49 +01:00
parent 15f4d1231b
commit 65e1314538
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ UM.MainWindow
title:
{
let result = "";
if(PrintInformation.jobName != "")
if(PrintInformation !== null && PrintInformation.jobName != "")
{
result += PrintInformation.jobName + " - ";
}