diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2013-10-15 18:31:33 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2013-10-15 18:31:33 +0000 |
| commit | a8340714dda77290447f405018b5e4aeae237374 (patch) | |
| tree | a04b4ab1bdcd5ea6f09f5e2d2c487b5fdd6e251a /src/selection-chemistry.cpp | |
| parent | eek-preview: Hide unused variable in gtk3 build (diff) | |
| download | inkscape-a8340714dda77290447f405018b5e4aeae237374.tar.gz inkscape-a8340714dda77290447f405018b5e4aeae237374.zip | |
Fix for bug #1239452 (trunk: crash on ungroup...)
Fixed bugs:
- https://launchpad.net/bugs/1239452
(bzr r12692)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 2 |
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; } |
