diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-18 14:04:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-18 14:04:05 +0100 |
| commit | 79af506328e80ad84cbe0dddaf2e1a21d4df1fe8 (patch) | |
| tree | bb1dac61d62e20017e89fb8d6df3b65063e01364 /src | |
| parent | 9bfa5c8bc706f70e163a282f52988a70c6080540 (diff) | |
| parent | a332bf3423b5dbe79566f96b7ad39ac96b3a890b (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/subtitle_panel.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index d2f0e4c11..bd5c5f636 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -255,6 +255,9 @@ SubtitlePanel::setup_sensitivity () _stream->Enable (!reference && ffmpeg_subs == 1); _subtitle_view_button->Enable (!reference && subrip_or_dcp_subs == 1); _fonts_dialog_button->Enable (!reference && subrip_or_dcp_subs == 1); + + ContentList sel = _parent->selected (); + _reference->Enable (sel.size() == 1 && dynamic_pointer_cast<DCPContent> (sel.front ())); } void |
