From: buliabyak Date: Sat, 21 Apr 2007 22:35:19 +0000 (+0000) Subject: close transaction when removing empty flowtext; fixes 1704180 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de225668d6a2b469affa86f59119789e73dfce35;p=inkscape.git close transaction when removing empty flowtext; fixes 1704180 --- 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")); } } }