summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2013-07-31 15:19:18 +0200
committerMarco Bubke <marco.bubke@digia.com>2013-07-31 16:37:29 +0200
commit0dd5f681528f2507005cc0f381d3f87995e14c01 (patch)
tree2eaa7427c5226f68d14682ff86c6cde4b4108786 /src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
parentc3be93f23c594709d7c0ec3052869a52faacfef5 (diff)
downloadqt-creator-0dd5f681528f2507005cc0f381d3f87995e14c01.tar.gz
QmlDesigner: Rename actualState in currentState
Change-Id: I49f80126a3fc0184a3b18352ed2adc24e50040c7 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@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 ba777968d6..5ed78b6edd 100644
--- a/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/movemanipulator.cpp
@@ -277,7 +277,7 @@ void MoveManipulator::update(const QPointF& updatePoint, Snapper::Snapping useSn
continue;
// don't support anchors for base state because it is not needed by the droptool
- if (stateToBeManipulated == UseActualState) {
+ if (stateToBeManipulated == UseCurrentState) {
QmlAnchors anchors(item->qmlItemNode().anchors());
if (anchors.instanceHasAnchor(AnchorLine::Top))