summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2013-07-24 17:48:04 +0200
committerMarco Bubke <marco.bubke@digia.com>2013-07-25 17:29:27 +0200
commit90d4e38b36e27dea54f98fb2340d39cc8e7a55b4 (patch)
treeb5f013ca6391d1aa1ad4a59e295d923127114b0d /src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
parent4aac7343a4938c2017f026942b5edf38f43d1e4b (diff)
downloadqt-creator-90d4e38b36e27dea54f98fb2340d39cc8e7a55b4.tar.gz
QmlDesigner: Change defaultProperty in defaultPropertyName
Change-Id: Ic00fb37878c552e8b0bb9137a2985e9af3ca7ddc Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp')
-rw-r--r--src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp b/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
index 01b4b697c9..9aa162136d 100644
--- a/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
@@ -350,7 +350,7 @@ void MoveManipulator::reparentTo(FormEditorItem *newParent)
QmlItemNode parentItemNode(newParent->qmlItemNode());
if (parentItemNode.isValid()) {
if (parentItemNode.hasDefaultProperty())
- parentProperty = parentItemNode.nodeAbstractProperty(parentItemNode.defaultProperty());
+ parentProperty = parentItemNode.nodeAbstractProperty(parentItemNode.defaultPropertyName());
else
parentProperty = parentItemNode.nodeAbstractProperty("data");