summaryrefslogtreecommitdiffstats
path: root/src/object/sp-shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-shape.cpp')
-rw-r--r--src/object/sp-shape.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/object/sp-shape.cpp b/src/object/sp-shape.cpp
index 0ed5f731b..0687ef1fa 100644
--- a/src/object/sp-shape.cpp
+++ b/src/object/sp-shape.cpp
@@ -754,8 +754,7 @@ void SPShape::update_patheffect(bool write)
this->applyToClipPath(this);
this->applyToMask(this);
}
- }
-
+ }
if (write && success) {
Inkscape::XML::Node *repr = this->getRepr();
if (c_lpe != NULL) {
@@ -765,9 +764,9 @@ void SPShape::update_patheffect(bool write)
} else {
repr->setAttribute("d", NULL);
}
+ this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
c_lpe->unref();
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
}