If no licence text is set, use empty string

It doesn't really matter that much, but QT complaining about it annoyed me.
CURA-4222
This commit is contained in:
Jaime van Kessel 2017-08-30 15:07:58 +02:00
parent 6d40882bdc
commit 3b2c528595

View file

@ -228,7 +228,7 @@ UM.Dialog
anchors.right: parent.right
anchors.topMargin: UM.Theme.getSize("default_margin").height
readOnly: true
text: licenseDialog.licenseContent
text: licenseDialog.licenseContent != null ? licenseDialog.licenseContent : ""
}
}