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 aea983cbb..9890647e1 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -213,7 +213,7 @@ KnotHolder::knot_ungrabbed_handler(SPKnot */*knot*/, guint)
if (dynamic_cast<SPLPEItem*> (object)) {
// This writes all parameters to SVG. Is this sufficiently efficient or should we only
// write the ones that were changed?
- SPLPEItem * lpeitem = SP_LPE_ITEM(this->item);
+ SPLPEItem * lpeitem = SP_LPE_ITEM(object);
if (lpeitem) {
Inkscape::LivePathEffect::Effect *lpe = lpeitem->getCurrentLPE();
if (lpe) {