From: Carl Hetherington Date: Thu, 23 Aug 2018 09:27:13 +0000 (+0100) Subject: Only enable text language for open subs. X-Git-Tag: v2.13.45~11 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=4c7ab1b825360d3401e1e75c70dc6418403f4b49;hp=c543f2a87e037fa6cd6e89b1eb82d22a47a8b43a;p=dcpomatic.git Only enable text language for open subs. --- diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 9922f4e70..164b9dd7d 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -443,7 +443,7 @@ TextPanel::setup_sensitivity () _y_scale->Enable (!reference && any_subs > 0 && use && type == TEXT_OPEN_SUBTITLE); _line_spacing->Enable (!reference && use && type == TEXT_OPEN_SUBTITLE); _dcp_track->Enable (!reference && any_subs > 0 && use && type == TEXT_CLOSED_CAPTION); - _language->Enable (!reference && any_subs > 0 && use); + _language->Enable (!reference && any_subs > 0 && use && type == TEXT_OPEN_SUBTITLE); _stream->Enable (!reference && ffmpeg_subs == 1); _text_view_button->Enable (!reference); _fonts_dialog_button->Enable (!reference && type == TEXT_OPEN_SUBTITLE);