summaryrefslogtreecommitdiff
path: root/src/wx/dkdm_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-02 01:58:59 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-02 01:59:02 +0100
commit082d1d408fb5b503dc7b50dc97241c4ae794a753 (patch)
tree4d614eb611772ad5dcead8b0b0dcf9af3ba99bd5 /src/wx/dkdm_dialog.cc
parentbf4ea03da40f43219ae59568d0cc9535f2058b7f (diff)
Observe CPL changing, so that (e.g.) Make KDM button becomes sensitive
when selecting a screen and then choosing a CPL by browsing the filesystem (when there was no CPL previously selected).
Diffstat (limited to 'src/wx/dkdm_dialog.cc')
-rw-r--r--src/wx/dkdm_dialog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/dkdm_dialog.cc b/src/wx/dkdm_dialog.cc
index 6a4913d86..26f521573 100644
--- a/src/wx/dkdm_dialog.cc
+++ b/src/wx/dkdm_dialog.cc
@@ -123,6 +123,7 @@ DKDMDialog::DKDMDialog (wxWindow* parent, shared_ptr<const Film> film)
_recipients->RecipientsChanged.connect (boost::bind(&DKDMDialog::setup_sensitivity, this));
_timing->TimingChanged.connect (boost::bind(&DKDMDialog::setup_sensitivity, this));
_make->Bind (wxEVT_BUTTON, boost::bind(&DKDMDialog::make_clicked, this));
+ _cpl->Changed.connect(boost::bind(&DKDMDialog::setup_sensitivity, this));
setup_sensitivity ();