summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-16 10:05:16 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-16 10:05:16 +0000
commit098590935052a42027c47f8635ae6f11cf35503b (patch)
tree141ba0f404001acb91e6b173360c4485c453a0c8 /src/selection-chemistry.cpp
parentfixing bend warnings (diff)
parentadd (commented-out) flag for C++11 compilation. (note that on Windows we use ... (diff)
downloadinkscape-098590935052a42027c47f8635ae6f11cf35503b.tar.gz
inkscape-098590935052a42027c47f8635ae6f11cf35503b.zip
Update to trunk
(bzr r12588.1.17)
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 5463c3f94..c5169fff5 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -785,7 +785,7 @@ void sp_selection_ungroup(Inkscape::Selection *selection, SPDesktop *desktop)
SPItem *group = static_cast<SPItem *>(i->data);
// when ungrouping cloned groups with their originals, some objects that were selected may no more exist due to unlinking
- if (!SP_IS_OBJECT(group)) {
+ if (!SP_IS_OBJECT(group) || !group->getRepr()) {
continue;
}