diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-04-21 22:35:19 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-04-21 22:35:19 +0000 |
| commit | 245601ced0ba45544ea0017659f8674490ec4549 (patch) | |
| tree | f79e78c80ccb5ac9cfe598ff9e08d9b79c1b7770 /src/text-context.cpp | |
| parent | Fix use of uninitialized 'doc' var. Fix use of gc::released 'repr'. (diff) | |
| download | inkscape-245601ced0ba45544ea0017659f8674490ec4549.tar.gz inkscape-245601ced0ba45544ea0017659f8674490ec4549.zip | |
close transaction when removing empty flowtext; fixes 1704180
(bzr r2944)
Diffstat (limited to 'src/text-context.cpp')
| -rw-r--r-- | src/text-context.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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")); } } } |
