diff options
| author | gustav_b <gustav_b@users.sourceforge.net> | 2007-03-28 20:38:10 +0000 |
|---|---|---|
| committer | gustav_b <gustav_b@users.sourceforge.net> | 2007-03-28 20:38:10 +0000 |
| commit | a719dcb0e9b591316d3fd3914a5835858befd911 (patch) | |
| tree | aa96733ddde2364f48a95663023ffbdd219f8f84 /src/document-undo.cpp | |
| parent | Add shift+click to union new fill with old selection (diff) | |
| download | inkscape-a719dcb0e9b591316d3fd3914a5835858befd911.tar.gz inkscape-a719dcb0e9b591316d3fd3914a5835858befd911.zip | |
Fix for #1684042 (undo while adding a shape with the mouse results in a crash.)
(bzr r2774)
Diffstat (limited to '')
| -rw-r--r-- | src/document-undo.cpp | 2 |
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; } } |
