forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -136,7 +136,7 @@ bool QmlAnchors::isValid() const
|
||||
|
||||
void QmlAnchors::beautify()
|
||||
{
|
||||
|
||||
return;
|
||||
if ((instanceHasAnchor(AnchorLine::Left) &&
|
||||
instanceHasAnchor(AnchorLine::Right) &&
|
||||
instanceHasAnchor(AnchorLine::Top) &&
|
||||
|
Reference in New Issue
Block a user