Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / self_dkdm_dialog.cc
index c8587e7ee83a8620d99e5539457b89c00fe25f92..4702557e71f7171af0b68509eb93ad2cba56ee22 100644 (file)
@@ -123,6 +123,7 @@ SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, std::shared_ptr<const Film> fi
 
        _internal->Bind (wxEVT_RADIOBUTTON, bind (&SelfDKDMDialog::dkdm_write_type_changed, this));
        _write_to->Bind (wxEVT_RADIOBUTTON, bind (&SelfDKDMDialog::dkdm_write_type_changed, this));
+       _cpl->Changed.connect(boost::bind(&SelfDKDMDialog::setup_sensitivity, this));
 }