Disable copy-as-name button with no Film.
[dcpomatic.git] / src / wx / dcp_panel.cc
index 774f416676a3dd975d363d56575652b547a82bbd..18ba4ccfd330d2d19fe91f0a83a2d6b65a41afed 100644 (file)
@@ -411,6 +411,7 @@ DCPPanel::set_general_sensitivity (bool s)
        _use_isdcf_name->Enable (s);
        _edit_isdcf_button->Enable (s);
        _dcp_content_type->Enable (s);
+       _copy_isdcf_name_button->Enable (s);
 
        bool si = s;
        if (_film && _film->encrypted ()) {