QmlDesigner: Fix for Rotation tool for FlowItem

Change-Id: Ic4c8c488d91e5983da6da1b424b52a4b240ded37
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Aleksei German
2020-12-04 15:42:40 +01:00
committed by Thomas Hartmann
parent f45cfbe634
commit 60e2a1b128

View File

@@ -63,7 +63,8 @@ static bool itemIsRotatable(const QmlItemNode &qmlItemNode)
&& qmlItemNode.instanceIsResizable()
&& qmlItemNode.modelIsMovable()
&& qmlItemNode.modelIsRotatable()
&& !qmlItemNode.instanceIsInLayoutable();
&& !qmlItemNode.instanceIsInLayoutable()
&& !qmlItemNode.isFlowItem();
}
void RotationIndicator::setItems(const QList<FormEditorItem*> &itemList)