summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-21 22:35:19 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-21 22:35:19 +0000
commit245601ced0ba45544ea0017659f8674490ec4549 (patch)
treef79e78c80ccb5ac9cfe598ff9e08d9b79c1b7770 /src/text-context.cpp
parentFix use of uninitialized 'doc' var. Fix use of gc::released 'repr'. (diff)
downloadinkscape-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.cpp2
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"));
}
}
}