summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-03-16 19:08:44 +0000
committerJabiertxof <jtx@jtx>2017-03-16 19:08:44 +0000
commit8330d0ef2b97c73121ead78ea9fbcec6ee01f879 (patch)
tree1b1717d1706ee6ebfecc800f2cc80430eb0450e0 /src/document-undo.cpp
parentupdate to trunk (diff)
parentFix rendering when canvas rotated. General code clean-up and documentation. (diff)
downloadinkscape-8330d0ef2b97c73121ead78ea9fbcec6ee01f879.tar.gz
inkscape-8330d0ef2b97c73121ead78ea9fbcec6ee01f879.zip
Update to trunk
(bzr r13645.1.170)
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;