From ef0a7b603c667abc8599c3abf88c4408acb05228 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 29 Jun 2006 20:15:48 +0000 Subject: patch from Gustav Broberg: undo annotations and history dialog (bzr r1315) --- src/draw-context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index 6bea0851b..bb1f56044 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -557,7 +557,8 @@ spdc_flush_white(SPDrawContext *dc, SPCurve *gc) item->updateRepr(); } - sp_document_done(doc); + sp_document_done(doc, SP_IS_PEN_CONTEXT(dc)? SP_VERB_CONTEXT_PEN : SP_VERB_CONTEXT_PENCIL, + /* TODO: annotate */ "draw-context.cpp:561"); } sp_curve_unref(c); -- cgit v1.2.3