aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-03-15 16:24:04 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-03-15 17:40:00 +0100
commitaf90e21a38fcdbeebf564d153b16787437f3cd62 (patch)
treede6f89e161acdea134e655a86eb2c068db41820b /share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
parent5e10e69366d3caa1743c3dfbdb418108a404aa2e (diff)
QmlDesigner.propertyEditor: remove checks for undefined
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 1471968f18..fcf2bc79a1 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.className.value
+ text: backendValues === undefined ? "empty" : backendValues.className.value
onClicked: {
extendedMode.checked = false;
layoutMode.checked = false;