From 4c7ab1b825360d3401e1e75c70dc6418403f4b49 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Aug 2018 10:27:13 +0100 Subject: [PATCH] Only enable text language for open subs. --- src/wx/text_panel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2