X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fvideo_panel.cc;h=462f2bdae3925ceb69aae168a1a8afba0f92937e;hp=18d5894830f0a57fa5cf70eb26c4535cb8d82eff;hb=ad5c8849fc3ef5aad88201f28db5474a60db4436;hpb=78012b8cf9b4c6e35b425c97b6432551ce635c3a diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 18d589483..462f2bdae 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -242,24 +242,28 @@ VideoPanel::VideoPanel (ContentPanel* p) _fade_in->Changed.connect (boost::bind (&VideoPanel::fade_in_changed, this)); _fade_out->Changed.connect (boost::bind (&VideoPanel::fade_out_changed, this)); - _reference->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&VideoPanel::reference_clicked, this)); - _filters_button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&VideoPanel::edit_filters_clicked, this)); - _colour_conversion->Bind (wxEVT_COMMAND_CHOICE_SELECTED, boost::bind (&VideoPanel::colour_conversion_changed, this)); - _edit_colour_conversion_button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&VideoPanel::edit_colour_conversion_clicked, this)); + _reference->Bind (wxEVT_CHECKBOX, boost::bind (&VideoPanel::reference_clicked, this)); + _filters_button->Bind (wxEVT_BUTTON, boost::bind (&VideoPanel::edit_filters_clicked, this)); + _colour_conversion->Bind (wxEVT_CHOICE, boost::bind (&VideoPanel::colour_conversion_changed, this)); + _edit_colour_conversion_button->Bind (wxEVT_BUTTON, boost::bind (&VideoPanel::edit_colour_conversion_clicked, this)); } void VideoPanel::film_changed (Film::Property property) { switch (property) { - case Film::CONTAINER: case Film::VIDEO_FRAME_RATE: + case Film::CONTAINER: + setup_description (); + setup_sensitivity (); + break; case Film::RESOLUTION: setup_description (); break; case Film::REEL_TYPE: case Film::INTEROP: setup_sensitivity (); + break; default: break; }