From e610e998699feefd902843470331481a6085c6dc Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 18 Nov 2018 17:04:27 +0100 Subject: [PATCH] Fix Bug #1801694: Command "Remove From a Group" Does Not Work Remove bug #1801694 described in the link: https://bugs.launchpad.net/inkscape/+bug/1801694 The command "pop selected objects out of group now works" for objects selected via ctrl-click or xml --- src/layer-fns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer-fns.cpp b/src/layer-fns.cpp index dfb003727d..3f125a7830 100644 --- a/src/layer-fns.cpp +++ b/src/layer-fns.cpp @@ -115,7 +115,7 @@ SPObject *next_layer(SPObject *root, SPObject *layer) { SPObject *sibling = next_sibling_layer(layer); if (sibling) { result = first_descendant_layer(sibling); - } else if ( layer->parent != root ) { + } else { result = layer->parent; } -- GitLab