From: Carl Hetherington Date: Fri, 11 Jul 2014 10:32:57 +0000 (+0100) Subject: Fix subtitle panel enabling. X-Git-Tag: v2.0.48~730 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=66527e65e21c2981d2b94f83ad9decfa99f46aad;hp=4589acd60ef21987195c03bb60277e313144155c;p=dcpomatic.git Fix subtitle panel enabling. --- 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 sc = boost::dynamic_pointer_cast (*i); shared_ptr dsc = boost::dynamic_pointer_cast (*i); if (fc) { - if (!fc->has_subtitles ()) { + if (fc->has_subtitles ()) { ++ffmpeg_subs; ++any_subs; }