aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-04-28 13:45:49 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-04-28 14:07:13 +0200
commit1dff84380e8e328c13f9eb97fbf972c8ce1e0ed6 (patch)
tree7baae9c9cedc99df1d2c94ef75a01e61a394809f /share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
parent43ccd3a48a339dc26aa3c6a184d8c2e6d31a20fe (diff)
QmlDesigner.propertyEditor: show emtpy instead of empty string
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
index db167667c5..f6550e9867 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;