summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-23 10:27:13 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-23 10:27:13 +0100
commit4c7ab1b825360d3401e1e75c70dc6418403f4b49 (patch)
tree4777faf024a9c9411ca9af8a72398a0c9e99953f /src
parentc543f2a87e037fa6cd6e89b1eb82d22a47a8b43a (diff)
Only enable text language for open subs.
Diffstat (limited to 'src')
-rw-r--r--src/wx/text_panel.cc2
1 files changed, 1 insertions, 1 deletions
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);