Fixed issue with deleting detail nodes.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-03-15 16:51:22 +02:00
parent d7a67cd6d3
commit bb1ef64d15

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