Commit d219cd26 authored by Aurindam Jana's avatar Aurindam Jana Committed by Kai Koehne
Browse files

QmlJSInspector: Property Inspector

Call "SET BINDING" instead of "EVALUATE" when setting
values in the property inspector. This solves problems
related to setting of some property types such as URLs.

Change-Id: I256aef7db52b2e029d2b8ad6d17723eb1c46006f
Reviewed-by: default avatarKai Koehne <>
parent 56e17e53
......@@ -700,8 +700,9 @@ void InspectorUi::selectItems(const QList<int> &objectIds)
void InspectorUi::changePropertyValue(int debugId,const QString &propertyName, const QString &valueExpression)
QString query = propertyName + '=' + valueExpression;
m_clientProxy->queryExpressionResult(debugId, query);
QmlDebugObjectReference obj = m_clientProxy->objectReferenceForId(debugId);
m_clientProxy->setBindingForObject(debugId, propertyName, valueExpression, false,
obj.source().url().toString(), obj.source().lineNumber());
void InspectorUi::enable()
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