Commit 2e5ce2a8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QmlDesigner: Fix duplicate condition

Change-Id: I06637477487daf8b071bbffa4f5007dc0e7d7e6f
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent dad30a78
......@@ -678,9 +678,7 @@ void Snapper::adjustAnchoringOfItem(FormEditorItem *formEditorItem)
containerFormEditorItem()->bottomSnappingOffsets(),
AnchorLineTop,
AnchorLineBottom);
}
if (!qmlAnchors.instanceHasAnchor(AnchorLineVerticalCenter)) {
adjustAnchorLine(qmlItemNode,
containerFormEditorItem()->qmlItemNode(),
containerFormEditorItem()->bottomSnappingLines(),
......
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