From ff40ecd114547a2fc07bc49403c993c3fa5d40cc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Jul 2018 20:58:24 +0100 Subject: UI for selecting caption type. --- src/lib/text_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index 96e9cbb8d..8e1e416eb 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -313,7 +313,7 @@ TextContent::as_xml (xmlpp::Node* root) const (*i)->as_xml (root->add_child("Font")); } - root->add_child("TextType", text_type_to_string(_type)); + root->add_child("TextType")->add_child_text (text_type_to_string(_type)); } string -- cgit v1.2.3