summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-09 21:16:31 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-10 23:12:13 +0200
commitca5cc79f4464c5e9f34480757c288b9bbcb569ec (patch)
tree43aabbb22b7e7ae05be1ef4ee02e5602f173d13d /src/lib/string_text_file_content.cc
parent2f1986a814403d690aedcbe8b7057878ebae76b0 (diff)
Make it OK to re-examine content with subtitles.
Diffstat (limited to 'src/lib/string_text_file_content.cc')
-rw-r--r--src/lib/string_text_file_content.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc
index 934144fa4..95a282174 100644
--- a/src/lib/string_text_file_content.cc
+++ b/src/lib/string_text_file_content.cc
@@ -66,6 +66,8 @@ StringTextFileContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job
Content::examine (film, job);
StringTextFile file (shared_from_this());
+ only_text()->clear_fonts();
+
/* Default to turning these subtitles on */
only_text()->set_use (true);