Fix subtitle panel enabling.
authorCarl Hetherington <cth@carlh.net>
Fri, 11 Jul 2014 10:32:57 +0000 (11:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 11 Jul 2014 10:32:57 +0000 (11:32 +0100)
src/wx/subtitle_panel.cc

index 7473e5c3a642462212da080421f0c55cbb0ce888..16c10f5ef9f58229e4011495f81f28a4f96b357a 100644 (file)
@@ -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;
                        }