summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index 32ba9075b..9abba83d7 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -209,7 +209,7 @@ KnotHolder::knot_ungrabbed_handler(SPKnot */*knot*/)
// This writes all parameters to SVG. Is this sufficiently efficient or should we only
// write the ones that were changed?
- Inkscape::LivePathEffect::Effect *lpe = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(object));
+ Inkscape::LivePathEffect::Effect *lpe = SP_LPE_ITEM(object)->getCurrentLPE();
if (lpe) {
LivePathEffectObject *lpeobj = lpe->getLPEObj();
lpeobj->updateRepr();