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 0462ff374..47d56ca66 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -201,7 +201,7 @@ void finish_incomplete_transaction(SPDocument &doc) {
g_warning ("Incomplete undo transaction:");
priv.partial = sp_repr_coalesce_log(priv.partial, log);
sp_repr_debug_print_log(priv.partial);
- priv.undo = g_slist_prepend(priv.undo, priv.partial);
+ priv.undo = g_slist_prepend(priv.undo, new Inkscape::Event(priv.partial));
priv.partial = NULL;
}
}