Fixed issue with deleting detail nodes.

(grafted from dc69de0a2dd73ae3cbbc6ce6b7007407540e4c4c)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-03-15 17:38:36 +02:00
parent ba5ac8a04b
commit f5c5995117

View File

@ -59,7 +59,7 @@ void SaveDetailOptions::undo()
{ {
VToolDetail::AddNode(doc, domElement, oldDet.at(i)); VToolDetail::AddNode(doc, domElement, oldDet.at(i));
} }
IncrementReferences(oldDet.getNodes()); IncrementReferences(oldDet.Missing(newDet));
emit NeedLiteParsing(Document::LiteParse); emit NeedLiteParsing(Document::LiteParse);
} }
else else