summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2014-03-12 17:55:15 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2014-03-12 17:55:15 +0000
commit98bc928471d3bc96a9eed9b5b120b2dcd46324d9 (patch)
treeb9739f211d111f819ec19930fda38e6ded95d436 /src/selection-chemistry.cpp
parentChange stroke-dasharray and stroke-dashoffset handling to match other propert... (diff)
downloadinkscape-98bc928471d3bc96a9eed9b5b120b2dcd46324d9.tar.gz
inkscape-98bc928471d3bc96a9eed9b5b120b2dcd46324d9.zip
Allow ungrouping switches
(bzr r13136)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index fad2dff5b..5a981c6a0 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -794,7 +794,7 @@ void sp_selection_ungroup(Inkscape::Selection *selection, SPDesktop *desktop)
GSList *groups = NULL;
for (GSList *item = old_select; item; item = item->next) {
SPItem *obj = static_cast<SPItem*>(item->data);
- if (SP_IS_GROUP(obj) && !SP_IS_SWITCH(obj)) {
+ if (SP_IS_GROUP(obj)) {
groups = g_slist_prepend(groups, obj);
}
}