forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user