From d7b2a527bbc557855b96e2ac01c1d8554c124019 Mon Sep 17 00:00:00 2001 From: Alexander Brock Date: Sun, 6 Nov 2016 22:36:33 +0100 Subject: Fix selection issue with ObjectSet::unlinkRecursive() and add tests for it. (bzr r15204.1.5) --- src/selection-chemistry.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/selection-chemistry.cpp') diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 694e12f55..2cfc8aa16 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2767,6 +2767,7 @@ bool ObjectSet::unlinkRecursive(const bool skip_undo) { DocumentUndo::done(document(), SP_VERB_EDIT_UNLINK_CLONE_RECURSIVE, _("Unlink clone recursively")); } + setList(items_); return unlinked; } -- cgit v1.2.3