summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 01:09:19 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:19 +0100
commitc53c3e9f3d08478a391bfa1989772378609af693 (patch)
tree34a1ebe4b00e50b2a589a552ce8e88be63967c8f /src/wx/content_panel.cc
parenta8cd625da7064816fc890d458c0d4e2dc04ba796 (diff)
More renaming.
Diffstat (limited to 'src/wx/content_panel.cc')
-rw-r--r--src/wx/content_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 578c9fa24..8a24b2170 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -258,11 +258,11 @@ ContentPanel::selection_changed ()
BOOST_FOREACH (shared_ptr<Content> i, selected ()) {
DCPTime p;
p = i->position();
- if (dynamic_pointer_cast<PlainText>(i) && i->paths_valid()) {
+ if (dynamic_pointer_cast<PlainTextContent>(i) && i->paths_valid()) {
/* Rather special case; if we select a text subtitle file jump to its
first subtitle.
*/
- TextSubtitle ts (dynamic_pointer_cast<PlainText>(i));
+ PlainText ts (dynamic_pointer_cast<PlainTextContent>(i));
if (ts.first()) {
p += DCPTime(ts.first().get(), _film->active_frame_rate_change(i->position()));
}