Tidy up after mass rename.
[dcpomatic.git] / src / wx / timing_panel.cc
index 2a97f405f1b4ee35ca9a76985675f802079878a4..e9fc51f58344fbbe651a8e448144cab0d47d1599 100644 (file)
@@ -27,9 +27,9 @@
 #include "lib/content.h"
 #include "lib/image_content.h"
 #include "lib/text_content.h"
-#include "lib/dcp_text_content.h"
+#include "lib/dcp_subtitle_content.h"
 #include "lib/audio_content.h"
-#include "lib/text_caption_file_content.h"
+#include "lib/string_text_file_content.h"
 #include "lib/video_content.h"
 #include <dcp/locale_convert.h>
 #include <boost/foreach.hpp>
@@ -282,7 +282,7 @@ TimingPanel::film_content_changed (int property)
                                ++count_ac;
                                content = i;
                        }
-                       if (i->subtitle && i->video_frame_rate()) {
+                       if (!i->text.empty() && i->video_frame_rate()) {
                                ++count_sc;
                                content = i;
                        }