summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2014-08-06 17:56:59 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-08-06 17:56:59 +0000
commit0c91933becbe5bf17be180a0f897b4ec2b26c696 (patch)
treec7cb82fac0a2553526e8081831118d40e2c8c6d0 /src/document-undo.cpp
parentFix for bug #1348375 (randomized stars change on translation) (diff)
downloadinkscape-0c91933becbe5bf17be180a0f897b4ec2b26c696.tar.gz
inkscape-0c91933becbe5bf17be180a0f897b4ec2b26c696.zip
Fix for bug #1227193 (undo issues)
Fixed bugs: - https://launchpad.net/bugs/1227193 (bzr r13496)
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index 39c8a04a0..53e701648 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -255,6 +255,7 @@ gboolean Inkscape::DocumentUndo::undo(SPDocument *doc)
Inkscape::Event *log=(Inkscape::Event *)doc->priv->undo->data;
doc->priv->undo = g_slist_remove (doc->priv->undo, log);
sp_repr_undo_log (log->event);
+ doc->_updateDocument();
doc->priv->redo = g_slist_prepend (doc->priv->redo, log);
doc->setModifiedSinceSave();