From 3b2c528595f1b977f0449f0ef835017aa54285a5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 30 Aug 2017 15:07:58 +0200 Subject: [PATCH] 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 --- plugins/PluginBrowser/PluginBrowser.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PluginBrowser/PluginBrowser.qml b/plugins/PluginBrowser/PluginBrowser.qml index f824ac9e6a..7049a8d4ef 100644 --- a/plugins/PluginBrowser/PluginBrowser.qml +++ b/plugins/PluginBrowser/PluginBrowser.qml @@ -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 : "" } }