summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorSergei Izmailov <sergei.a.izmailov@gmail.com>2019-05-28 23:59:11 +0000
committerMartin Owens <doctormo@gmail.com>2019-05-29 01:36:49 +0000
commitc79a9bc365eb0b1f638e7ffa670dffb61c665e22 (patch)
treeb6bcdfa07e2db97f405ccf0791dc9ed4e0cebff8 /src/extension/effect.cpp
parentFix indentation (diff)
downloadinkscape-c79a9bc365eb0b1f638e7ffa670dffb61c665e22.tar.gz
inkscape-c79a9bc365eb0b1f638e7ffa670dffb61c665e22.zip
Rename effect attribute to "implements-custom-gui"
Effect with `implements-custom-gui="true"` MUST implement custom GUI
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index 2b08e4da1..3c9940240 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -63,7 +63,7 @@ Effect::Effect (Inkscape::XML::Node * in_repr, Implementation::Implementation *
if (child->attribute("needs-live-preview") && !strcmp(child->attribute("needs-live-preview"), "false")) {
no_live_preview = true;
}
- if (child->attribute("application") && !strcmp(child->attribute("application"), "true")) {
+ if (child->attribute("implements-custom-gui") && !strcmp(child->attribute("implements-custom-gui"), "true")) {
_workingDialog = false;
}
for (Inkscape::XML::Node *effect_child = child->firstChild(); effect_child != nullptr; effect_child = effect_child->next()) {