diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-27 00:27:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-27 00:30:25 +0100 |
| commit | a1934c29712f614883f01f82e8c54478df1dcc39 (patch) | |
| tree | 0806968109c40f658c730e158eab128d8ce27124 | |
| parent | 76b0568f28839e802382f41b99b0ed5eea6f5479 (diff) | |
Fix DKDM dialog "make" button sensitivity.
| -rw-r--r-- | src/wx/dkdm_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/dkdm_dialog.cc b/src/wx/dkdm_dialog.cc index 8444418c6..050651c15 100644 --- a/src/wx/dkdm_dialog.cc +++ b/src/wx/dkdm_dialog.cc @@ -113,6 +113,7 @@ DKDMDialog::DKDMDialog (wxWindow* parent, shared_ptr<const Film> film) /* Bind */ _recipients->RecipientsChanged.connect (boost::bind(&DKDMDialog::setup_sensitivity, this)); + _output->MethodChanged.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)); @@ -129,7 +130,7 @@ DKDMDialog::setup_sensitivity () { _recipients->setup_sensitivity (); _output->setup_sensitivity (); - _make->Enable (!_recipients->recipients().empty() && _cpl->has_selected()); + _make->Enable(!_recipients->recipients().empty() && _cpl->has_selected() && _output->method_selected()); } |
