forked from qt-creator/qt-creator
QmlDesigner: Do the dirty test only for non node instances
The test should stop at the next node instance. Change-Id: I99daf1215edea34b36434720c44ea7844c4bef34 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
@@ -116,8 +116,8 @@ bool Qt5InformationNodeInstanceServer::isDirtyRecursiveForParentInstances(QQuick
|
|||||||
QQuickItem *parentItem = item->parentItem();
|
QQuickItem *parentItem = item->parentItem();
|
||||||
|
|
||||||
if (parentItem) {
|
if (parentItem) {
|
||||||
if (hasInstanceForObject(parentItem) && DesignerSupport::isDirty(parentItem, DesignerSupport::TransformUpdateMask))
|
if (hasInstanceForObject(parentItem))
|
||||||
return true;
|
return false;
|
||||||
|
|
||||||
return isDirtyRecursiveForParentInstances(parentItem);
|
return isDirtyRecursiveForParentInstances(parentItem);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user