Commit 1c61320f authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.anchors: avoid recursion

Since instances are asynchronius now, we cannot
rely on instance feedback (for e.g. fill).

This beautification code has to be rewritten using the model.

Reviewed-by: Kai Koehne
parent 6161d0eb
......@@ -136,7 +136,7 @@ bool QmlAnchors::isValid() const
void QmlAnchors::beautify()
{
return;
if ((instanceHasAnchor(AnchorLine::Left) &&
instanceHasAnchor(AnchorLine::Right) &&
instanceHasAnchor(AnchorLine::Top) &&
......
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