Commit 10cb3af0 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Fix drag and drop bug

parent a145dec5
......@@ -274,10 +274,13 @@ void NodeInstanceServer::completeComponent(const CompleteComponentCommand &comma
}
}
m_completedComponentList.append(instanceList);
nodeInstanceClient()->valuesChanged(createValuesChangedCommand(instanceList));
nodeInstanceClient()->informationChanged(createAllInformationChangedCommand(instanceList, true));
nodeInstanceClient()->pixmapChanged(createPixmapChangedCommand(instanceList));
nodeInstanceClient()->componentCompleted(createComponentCompletedCommand(instanceList));
startRenderTimer();
}
void NodeInstanceServer::addImports(const QVector<AddImportContainer> &containerVector)
......@@ -881,6 +884,11 @@ void NodeInstanceServer::findItemChangesAndSendChangeCommands()
}
}
if (!m_completedComponentList.isEmpty()) {
nodeInstanceClient()->componentCompleted(createComponentCompletedCommand(m_completedComponentList));
m_completedComponentList.clear();
}
slowDownRenderTimer();
nodeInstanceClient()->flush();
}
......
......@@ -138,6 +138,7 @@ private:
QVector<InstancePropertyPair> m_changedPropertyList;
QStringList m_importList;
QSet<ServerNodeInstance> m_dirtyInstanceSet;
QList<ServerNodeInstance> m_completedComponentList;
};
}
......
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