diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 20:58:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | ff40ecd114547a2fc07bc49403c993c3fa5d40cc (patch) | |
| tree | 82e34489266eef724a43790d036e9d505f2996d7 /src/lib | |
| parent | 0e4a58abdc78f84478031acdc0acb95f5cb9a2a6 (diff) | |
UI for selecting caption type.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/text_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
