summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-10-10 12:08:35 +0000
committerjabiertxof <info@marker.es>2016-10-10 12:08:35 +0000
commitc7f5c676fa15f59f5f78c934263539981a26bbd2 (patch)
tree12eb2965e90018d418ed4b31a9a84c278dcefb98 /src/document-undo.cpp
parentAdded widget to to rotate (diff)
downloadinkscape-c7f5c676fa15f59f5f78c934263539981a26bbd2.tar.gz
inkscape-c7f5c676fa15f59f5f78c934263539981a26bbd2.zip
Fix some canvas problems and refactorization
(bzr r15142.1.8)
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index 113d09d66..023843fcc 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -281,6 +281,10 @@ gboolean Inkscape::DocumentUndo::undo(SPDocument *doc)
if (ret)
INKSCAPE.external_change();
+ SPObject *updated = doc->getRoot();
+ if (updated) {
+ updated->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
+ }
return ret;
}