Commit 9e47fd9e authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.formEditor: allowing of item creation in states

See Bauhaus-600
parent a5b2dca3
......@@ -304,8 +304,7 @@ void DragTool::move(QPointF scenePos)
FormEditorItem *containerItem = calculateContainer(scenePos - QPoint(2, 2), m_movingItem.data());
if (containerItem &&
containerItem != m_movingItem->parentItem() &&
view()->currentState().isBaseState()) {
containerItem != m_movingItem->parentItem()) {
m_moveManipulator.reparentTo(containerItem);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment