From: Carl Hetherington Date: Tue, 17 Aug 2021 20:16:00 +0000 (+0200) Subject: Rename update -> setup_sensitivity(). X-Git-Tag: v2.15.158~9 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2bbc9ce4ca245d5666929a542e6d07d9ef833c13;p=dcpomatic.git Rename update -> setup_sensitivity(). --- diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index 7be82578e..4912db320 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -963,10 +963,10 @@ private: _email->Bind (wxEVT_TEXT, boost::bind (&NotificationsPage::notification_email_changed, this)); _reset_email->Bind (wxEVT_BUTTON, boost::bind (&NotificationsPage::reset_email, this)); - update_sensitivity (); + setup_sensitivity (); } - void update_sensitivity () + void setup_sensitivity () { bool const s = _enable_email->GetValue(); _subject->Enable(s); @@ -990,7 +990,7 @@ private: checked_set (_bcc, config->notification_bcc ()); checked_set (_email, Config::instance()->notification_email ()); - update_sensitivity (); + setup_sensitivity (); } void notification_subject_changed () @@ -1033,7 +1033,7 @@ private: void type_changed (wxCheckBox* b, Config::Notification n) { Config::instance()->set_notification(n, b->GetValue()); - update_sensitivity (); + setup_sensitivity (); } wxCheckBox* _enable_message_box;