summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index 1fef1a9db..0f9434c17 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -67,8 +67,9 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation *
} // children of "inkscape-extension"
} // if we have an XML file
- if (_effects_list == NULL)
+ if (_effects_list == NULL && INKSCAPE != NULL) {
find_effects_list(inkscape_get_menus(INKSCAPE));
+ }
if (_effects_list != NULL) {
Inkscape::XML::Document *xml_doc;