diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 14:36:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 507a389e9c5f84ec1d51e7566e38fbf42f658537 (patch) | |
| tree | 5387a0ae0555126fd278b3ab6b496bb3cd8f9fb3 /src/wx/content_panel.cc | |
| parent | 491176352b80bea000564e6662738722185be721 (diff) | |
PlainText -> PlainTextFile.
Diffstat (limited to 'src/wx/content_panel.cc')
| -rw-r--r-- | src/wx/content_panel.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 8a24b2170..70364106c 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -39,8 +39,8 @@ #include "lib/config.h" #include "lib/log.h" #include "lib/compose.hpp" -#include "lib/plain_text_content.h" -#include "lib/plain_text.h" +#include "lib/plain_text_file_content.h" +#include "lib/plain_text_file.h" #include <wx/wx.h> #include <wx/notebook.h> #include <wx/listctrl.h> @@ -258,11 +258,11 @@ ContentPanel::selection_changed () BOOST_FOREACH (shared_ptr<Content> i, selected ()) { DCPTime p; p = i->position(); - if (dynamic_pointer_cast<PlainTextContent>(i) && i->paths_valid()) { + if (dynamic_pointer_cast<PlainTextFileContent>(i) && i->paths_valid()) { /* Rather special case; if we select a text subtitle file jump to its first subtitle. */ - PlainText ts (dynamic_pointer_cast<PlainTextContent>(i)); + PlainTextFile ts (dynamic_pointer_cast<PlainTextFileContent>(i)); if (ts.first()) { p += DCPTime(ts.first().get(), _film->active_frame_rate_change(i->position())); } |
