From de225668d6a2b469affa86f59119789e73dfce35 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 21 Apr 2007 22:35:19 +0000 Subject: [PATCH] close transaction when removing empty flowtext; fixes 1704180 --- src/text-context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/text-context.cpp b/src/text-context.cpp index f2dd4bf2b..670a863ac 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -1545,6 +1545,8 @@ sp_text_context_forget_text(SPTextContext *tc) // the XML editor if ( text_repr && sp_repr_parent(text_repr) ) { sp_repr_unparent(text_repr); + sp_document_done(sp_desktop_document(tc->desktop), SP_VERB_CONTEXT_TEXT, + _("Remove empty text")); } } } -- 2.30.2