From 1dff84380e8e328c13f9eb97fbf972c8ce1e0ed6 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Wed, 28 Apr 2010 13:45:49 +0200 Subject: [PATCH] QmlDesigner.propertyEditor: show emtpy instead of empty string --- share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml index db167667c56..f6550e98677 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml @@ -20,7 +20,7 @@ QFrame { id: standardMode; toolTip: "special properties"; //iconFromFile: "images/rect-icon.png"; - text: backendValues === undefined ? "empty" : backendValues.className.value + text: backendValues === undefined || backendValues.className === undefined || backendValues.className == "empty" ? "empty" : backendValues.className.value onClicked: { extendedMode.checked = false; layoutMode.checked = false; -- GitLab