QmlDesigner.FormEditor: crash fix

Change-Id: If5b5b2d4f4bacda7381400a09a971f116e8c4eab
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Thomas Hartmann
2013-04-03 11:48:09 +02:00
parent 64f373e6cc
commit 12f4bf02a9

View File

@@ -138,8 +138,10 @@ void SelectionTool::hoverMoveEvent(const QList<QGraphicsItem*> &itemList,
return;
}
if (topSelectedItemIsMovable(itemList))
if (topSelectedItemIsMovable(itemList)) {
view()->changeToMoveTool();
return;
}
}
FormEditorItem *topSelectableItem = 0;