If you move a new item on the formeditor the item is always in the base

state

The position is now setted int the base state if you drop a item on the
formeditor and move it around.

Task-Number: BAUHAUS-644
Reviewed-by: kkoehne
This commit is contained in:
Marco Bubke
2010-05-26 16:03:38 +02:00
committed by Kai Koehne
parent 7ffbdc34db
commit 6ce6dfbd2a
3 changed files with 40 additions and 30 deletions

View File

@@ -314,7 +314,7 @@ void DragTool::move(QPointF scenePos)
/* if (event->modifiers().testFlag(Qt::ControlModifier) != view()->isSnapButtonChecked())
useSnapping = MoveManipulator::UseSnapping;*/
m_moveManipulator.update(scenePos, useSnapping);
m_moveManipulator.update(scenePos, useSnapping, MoveManipulator::UseBaseState);
}