diff options
author | Marco Bubke <marco.bubke@digia.com> | 2013-07-24 17:48:04 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@digia.com> | 2013-07-25 17:29:27 +0200 |
commit | 90d4e38b36e27dea54f98fb2340d39cc8e7a55b4 (patch) | |
tree | b5f013ca6391d1aa1ad4a59e295d923127114b0d /src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp | |
parent | 4aac7343a4938c2017f026942b5edf38f43d1e4b (diff) | |
download | qt-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.cpp | 2 |
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"); |