summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/livepatheffect-editor.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp
index f62556d23..d48223201 100644
--- a/src/ui/dialog/livepatheffect-editor.cpp
+++ b/src/ui/dialog/livepatheffect-editor.cpp
@@ -247,14 +247,9 @@ LivePathEffectEditor::onApply()
Inkscape::GC::release(repr);
gchar *href = g_strdup_printf("#%s", repr_id);
- sp_lpe_item_set_path_effect(SP_LPE_ITEM(item), href);
+ sp_lpe_item_set_path_effect(SP_LPE_ITEM(item), href, true);
g_free(href);
- LivePathEffectObject *lpeobj = sp_lpe_item_get_livepatheffectobject(SP_LPE_ITEM(item));
- if (lpeobj && lpeobj->lpe) {
- lpeobj->lpe->resetDefaults(item);
- }
-
sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT,
_("Create and apply path effect"));