diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-11 11:32:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-11 11:32:57 +0100 |
| commit | 66527e65e21c2981d2b94f83ad9decfa99f46aad (patch) | |
| tree | b1de0a1dfcda1a055ff22b648c615ae51d82b4fa /src | |
| parent | 4589acd60ef21987195c03bb60277e313144155c (diff) | |
Fix subtitle panel enabling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/subtitle_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index 7473e5c3a..16c10f5ef 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -166,7 +166,7 @@ SubtitlePanel::setup_sensitivity () shared_ptr<const SubRipContent> sc = boost::dynamic_pointer_cast<const SubRipContent> (*i); shared_ptr<const DCPSubtitleContent> dsc = boost::dynamic_pointer_cast<const DCPSubtitleContent> (*i); if (fc) { - if (!fc->has_subtitles ()) { + if (fc->has_subtitles ()) { ++ffmpeg_subs; ++any_subs; } |
