Move chain to the Interop/SMPTE metadata.
[dcpomatic.git] / src / wx / dcp_panel.cc
index dcb78dc93f8e6b6283839825822a9bbf0fdd7bd0..a6f4d53c0ef868a0e750fef77ba6c2efeb94832b 100644 (file)
@@ -323,6 +323,7 @@ DCPPanel::metadata_clicked ()
                }
 
                _interop_metadata_dialog = new InteropMetadataDialog (_panel, _film);
+               _interop_metadata_dialog->setup ();
                _interop_metadata_dialog->Show ();
        } else {
                if (_smpte_metadata_dialog) {
@@ -447,6 +448,15 @@ DCPPanel::film_changed (Film::Property p)
                break;
        case Film::Property::CONTENT_VERSIONS:
        case Film::Property::VERSION_NUMBER:
+       case Film::Property::RELEASE_TERRITORY:
+       case Film::Property::RATINGS:
+       case Film::Property::FACILITY:
+       case Film::Property::STUDIO:
+       case Film::Property::TEMP_VERSION:
+       case Film::Property::PRE_RELEASE:
+       case Film::Property::RED_BAND:
+       case Film::Property::TWO_D_VERSION_OF_THREE_D:
+       case Film::Property::CHAIN:
                setup_dcp_name ();
                break;
        default:
@@ -644,7 +654,7 @@ DCPPanel::edit_isdcf_button_clicked ()
                return;
        }
 
-       auto d = new ISDCFMetadataDialog (_panel, _film->isdcf_metadata (), _film->three_d ());
+       auto d = new ISDCFMetadataDialog (_panel, _film->isdcf_metadata ());
        d->ShowModal ();
        _film->set_isdcf_metadata (d->isdcf_metadata ());
        d->Destroy ();