summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
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;