summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-10-30 03:03:28 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-10-30 03:03:28 +0000
commiteaf3c9f41f5faf2ba693d16abc259a48e8a021b8 (patch)
treec10fd36d467453eefe545e01ed6f4a4872abd8a0 /src
parentFix for 1071426 : Swatches dialog doesn't update when swatch is renamed (diff)
downloadinkscape-eaf3c9f41f5faf2ba693d16abc259a48e8a021b8.tar.gz
inkscape-eaf3c9f41f5faf2ba693d16abc259a48e8a021b8.zip
Fix for 1071328 : Inkscape encounters internal error when opening a valid SVG file
(bzr r11853)
Diffstat (limited to 'src')
-rw-r--r--src/sp-item-group.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index b54ec65e2..de2c79ec6 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -766,7 +766,9 @@ void CGroup::_showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *a
if (SP_IS_ITEM (o)) {
child = SP_ITEM (o);
ac = child->invoke_show (drawing, key, flags);
- ai->appendChild(ac);
+ if (ac) {
+ ai->appendChild(ac);
+ }
}
l = g_slist_remove (l, o);
}