diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-02 01:58:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-02 01:59:02 +0100 |
| commit | 082d1d408fb5b503dc7b50dc97241c4ae794a753 (patch) | |
| tree | 4d614eb611772ad5dcead8b0b0dcf9af3ba99bd5 /src/wx/kdm_dialog.cc | |
| parent | bf4ea03da40f43219ae59568d0cc9535f2058b7f (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/kdm_dialog.cc')
| -rw-r--r-- | src/wx/kdm_dialog.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index 9135baf23..c15156eee 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -127,6 +127,7 @@ KDMDialog::KDMDialog (wxWindow* parent, shared_ptr<const Film> film) _screens->ScreensChanged.connect (boost::bind (&KDMDialog::setup_sensitivity, this)); _timing->TimingChanged.connect (boost::bind (&KDMDialog::setup_sensitivity, this)); _make->Bind (wxEVT_BUTTON, boost::bind (&KDMDialog::make_clicked, this)); + _cpl->Changed.connect(boost::bind(&KDMDialog::setup_sensitivity, this)); setup_sensitivity (); |
