Fix sensitivity of custom scaled edit button.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Mar 2022 14:49:06 +0000 (15:49 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Mar 2022 14:49:06 +0000 (15:49 +0100)
src/wx/video_panel.cc

index 52c3b9229afed23c83512f83b154dd69679938f2..ff249a7acd386a7f34b6c1258aecb88cae820bd7 100644 (file)
@@ -702,6 +702,8 @@ VideoPanel::scale_fit_clicked ()
                i->video->set_custom_ratio (optional<float>());
                i->video->set_custom_size (optional<dcp::Size>());
        }
+
+       setup_sensitivity ();
 }
 
 
@@ -711,6 +713,8 @@ VideoPanel::scale_custom_clicked ()
        if (!scale_custom_edit_clicked()) {
                _scale_fit->SetValue (true);
        }
+
+       setup_sensitivity ();
 }