QmlDesigner: Fix value change notification

The return value is always -1.

Change-Id: I19ede339e7557a794069b4dc991cb9f9a711caa9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-05-21 13:10:24 +02:00
parent f5ab5f3a46
commit 5847268778

View File

@@ -317,8 +317,7 @@ int NodeInstanceMetaObject::metaCall(QMetaObject::Call call, int id, void **a)
}
}
if (metaCallReturnValue >= 0
&& call == QMetaObject::WriteProperty
if (call == QMetaObject::WriteProperty
&& !propertyById.hasNotifySignal()
&& oldValue != propertyById.read(myObject()))
notifyPropertyChange(id);