summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-03-06 21:33:07 +0000
committerJabiertxof <jtx@jtx>2017-03-06 21:33:07 +0000
commit167cadcab37209a059f6f8c84c0d897258bfc64d (patch)
treec987cfd4a17d6b39c027f75d8446205c39ec0f0d /src/document-undo.cpp
parentFix bug pointed by suv on IRC bad using of unicode degree sign (diff)
downloadinkscape-167cadcab37209a059f6f8c84c0d897258bfc64d.tar.gz
inkscape-167cadcab37209a059f6f8c84c0d897258bfc64d.zip
Fixes bug Envelope Deformation LPE makes Inkscape fail to undo properly
Fixed bugs: - https://launchpad.net/bugs/1668003 (bzr r15571)
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index ae90c916e..fb1f47312 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -282,7 +282,7 @@ gboolean Inkscape::DocumentUndo::undo(SPDocument *doc)
if (ret) INKSCAPE.external_change();
SPObject *updated = doc->getRoot();
- if (updated) {
+ if (updated && !ret) {
updated->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
return ret;