Commit 20b6f407 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlPuppet: fix missing else

You only want to add the parent to the parentSet list in the else case.
parent 4d66396c
......@@ -532,7 +532,8 @@ void NodeInstanceServer::sendChildrenChangedCommand(const QList<ServerNodeInstan
foreach (const ServerNodeInstance &child, childList) {
if (!child.hasParent())
noParentList.append(child);
parentSet.insert(child.parent());
else
parentSet.insert(child.parent());
}
......
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