Commit b87462f7 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fix id removal propagation to the qml editor.

parent 1d3c58cc
......@@ -131,7 +131,10 @@ void TextToModelMerger::syncNode(ModelNode &modelNode, const QmlDomObject &domOb
{
const QString domObjectId = domObject.objectId();
if (!domObjectId.isEmpty()) {
if (domObjectId.isEmpty()) {
if (!modelNode.id().isEmpty())
differenceHandler.idsDiffer(modelNode, domObjectId);
} else {
if (modelNode.id() != domObjectId)
differenceHandler.idsDiffer(modelNode, domObjectId);
}
......
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