From bb1ef64d1561a149a1b2a5696134caf34493b772 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 15 Mar 2016 16:51:22 +0200 Subject: [PATCH] Fixed issue with deleting detail nodes. --HG-- branch : release --- src/libs/vtools/undocommands/savedetailoptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/undocommands/savedetailoptions.cpp b/src/libs/vtools/undocommands/savedetailoptions.cpp index 7c13657a7..4d6b2593c 100644 --- a/src/libs/vtools/undocommands/savedetailoptions.cpp +++ b/src/libs/vtools/undocommands/savedetailoptions.cpp @@ -59,7 +59,7 @@ void SaveDetailOptions::undo() { VToolDetail::AddNode(doc, domElement, oldDet.at(i)); } - IncrementReferences(oldDet.getNodes()); + IncrementReferences(oldDet.Missing(newDet)); emit NeedLiteParsing(Document::LiteParse); } else