Commit 643f50e1 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Create first dynamic properties

parent 2b65c731
......@@ -1014,11 +1014,25 @@ QList<ServerNodeInstance> NodeInstanceServer::setupScene(const CreateSceneComman
instanceForId(container.instanceId()).setId(container.id());
}
foreach(const PropertyValueContainer &container, command.valueChanges())
foreach(const PropertyValueContainer &container, command.valueChanges()) {
if (container.isDynamic())
setInstancePropertyVariant(container);
}
foreach(const PropertyBindingContainer &container, command.bindingChanges())
foreach(const PropertyValueContainer &container, command.valueChanges()) {
if (!container.isDynamic())
setInstancePropertyVariant(container);
}
foreach(const PropertyBindingContainer &container, command.bindingChanges()) {
if (container.isDynamic())
setInstancePropertyBinding(container);
}
foreach(const PropertyBindingContainer &container, command.bindingChanges()) {
if (!container.isDynamic())
setInstancePropertyBinding(container);
}
foreach(ServerNodeInstance instance, instanceList)
instance.doComponentComplete();
......
Markdown is supported
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