summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-10 22:57:49 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-10 22:57:49 +0100
commit2514ffcd1adcca4fc8e3db894afb5cdc6c857e94 (patch)
tree96dc1de99da85325c3155ad3bb63355ad0d5808e /src
parentfb5e9542b9bd633f706f80f95e2f6f30f21908d6 (diff)
Fix sensitivity of use-best button for DCP frame rate.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index be99c2010..92b4d0691 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -892,7 +892,6 @@ FilmEditor::set_things_sensitive (bool s)
_filters_button->Enable (s);
_scaler->Enable (s);
_dcp_content_type->Enable (s);
- _best_dcp_frame_rate->Enable (s);
_dcp_frame_rate->Enable (s);
_colour_lut->Enable (s);
_j2k_bandwidth->Enable (s);
@@ -907,6 +906,7 @@ FilmEditor::set_things_sensitive (bool s)
setup_subtitle_control_sensitivity ();
setup_show_audio_sensitivity ();
setup_content_sensitivity ();
+ _best_dcp_frame_rate->Enable (s && _film && _film->best_dcp_video_frame_rate () != _film->dcp_video_frame_rate ());
}
/** Called when the `Edit filters' button has been clicked */