summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-17 22:16:00 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-17 22:16:00 +0200
commit2bbc9ce4ca245d5666929a542e6d07d9ef833c13 (patch)
treed7f75c5b6a207e8896786d7434e2f1a001baff76
parentcd298dad8ac7cdea6b7fd04827f6cdb6ea669cda (diff)
Rename update -> setup_sensitivity().
-rw-r--r--src/wx/full_config_dialog.cc8
1 files changed, 4 insertions, 4 deletions
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;