Commit fdd76835 authored by Marco Bubke's avatar Marco Bubke Committed by Kai Koehne
Browse files

Fix crash for changing a value if a expression is assigned

Task-Number: BAUHAUS-617
Reviewed-by: kkoehne
parent 3d6560a1
......@@ -394,6 +394,9 @@ void QmlPropertyChangesObject::setVariantValue(const QString &name, const QVaria
QDeclarativeAction &qmlAction = qmlActionForProperty(name);
if (qmlAction.fromBinding)
qmlAction.fromBinding->setEnabled(false, QDeclarativePropertyPrivate::BypassInterceptor | QDeclarativePropertyPrivate::DontRemoveBinding);
qmlAction.toValue = value;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment