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:
Marco Bubke
2014-06-24 16:45:05 +02:00
parent f0c3f2ce0c
commit a5c3c9af0e

View File

@@ -116,8 +116,8 @@ bool Qt5InformationNodeInstanceServer::isDirtyRecursiveForParentInstances(QQuick
QQuickItem *parentItem = item->parentItem();
if (parentItem) {
if (hasInstanceForObject(parentItem) && DesignerSupport::isDirty(parentItem, DesignerSupport::TransformUpdateMask))
return true;
if (hasInstanceForObject(parentItem))
return false;
return isDirtyRecursiveForParentInstances(parentItem);