From f5c59951176b4524e995f6af4277e2f55907f7d2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 15 Mar 2016 17:38:36 +0200 Subject: [PATCH] Fixed issue with deleting detail nodes. (grafted from dc69de0a2dd73ae3cbbc6ce6b7007407540e4c4c) --HG-- branch : develop --- 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 656863a83..5563bf530 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