diff options
Diffstat (limited to 'src/wx/film_editor.cc')
| -rw-r--r-- | src/wx/film_editor.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 8cf8c5fda..22fd1cc14 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -963,9 +963,15 @@ FilmEditor::setup_subtitle_control_sensitivity () } _with_subtitles->Enable (h); - _subtitle_stream->Enable (_film->with_subtitles ()); - _subtitle_offset->Enable (_film->with_subtitles ()); - _subtitle_scale->Enable (_film->with_subtitles ()); + + bool j = false; + if (_film) { + j = _film->with_subtitles (); + } + + _subtitle_stream->Enable (j); + _subtitle_offset->Enable (j); + _subtitle_scale->Enable (j); } void |
