forked from qt-creator/qt-creator
QmlDesigner.FormEditor: crash fix
Change-Id: If5b5b2d4f4bacda7381400a09a971f116e8c4eab Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -138,8 +138,10 @@ void SelectionTool::hoverMoveEvent(const QList<QGraphicsItem*> &itemList,
|
||||
return;
|
||||
}
|
||||
|
||||
if (topSelectedItemIsMovable(itemList))
|
||||
if (topSelectedItemIsMovable(itemList)) {
|
||||
view()->changeToMoveTool();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
FormEditorItem *topSelectableItem = 0;
|
||||
|
Reference in New Issue
Block a user