summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-01-01 07:31:51 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-01-01 07:31:51 +0000
commit9bfe3faad60c347983cf030b6dae33650710f5e1 (patch)
tree0aefd02ab86fc6a682f7228fb062437e8247e480 /src/style.cpp
parentChange lcms transforms to match change of display buffer from RGB-24 to ARGB-32 (diff)
downloadinkscape-9bfe3faad60c347983cf030b6dae33650710f5e1.tar.gz
inkscape-9bfe3faad60c347983cf030b6dae33650710f5e1.zip
fix crash when ungrouping a group with set-then-unset filter
(bzr r7050)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 4fd8577b9..ad4e509f6 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -2197,7 +2197,7 @@ sp_style_merge_ifilter(SPStyle *style, SPIFilter const *parent)
style->filter.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_filter_ref_changed), style));
}
- if (style->filter.href && parent->href) {
+ if (style->filter.href && parent->href && parent->href->getObject()) {
try {
style->filter.href->attach(*parent->href->getURI());
} catch (Inkscape::BadURIException &e) {