From d6b3f383a94a8022427824568cbb383caa7c8773 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Sep 2015 11:46:58 +0100 Subject: [PATCH] Rename update_sensitivity to setup_sensitivity for consistency. --- src/wx/fonts_dialog.cc | 6 +++--- src/wx/fonts_dialog.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc index de53a3c28..ff5b107c9 100644 --- a/src/wx/fonts_dialog.cc +++ b/src/wx/fonts_dialog.cc @@ -110,7 +110,7 @@ FontsDialog::setup () ++n; } - update_sensitivity (); + setup_sensitivity (); } void @@ -185,11 +185,11 @@ FontsDialog::set_selected_font_file (boost::filesystem::path file) void FontsDialog::selection_changed () { - update_sensitivity (); + setup_sensitivity (); } void -FontsDialog::update_sensitivity () +FontsDialog::setup_sensitivity () { int const item = _fonts->GetNextItem (-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED); _set_from_file->Enable (item != -1); diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h index c29a982c9..26c2a5eaa 100644 --- a/src/wx/fonts_dialog.h +++ b/src/wx/fonts_dialog.h @@ -34,7 +34,7 @@ private: void setup (); void set_from_file_clicked (); void set_from_system_clicked (); - void update_sensitivity (); + void setup_sensitivity (); void selection_changed (); void set_selected_font_file (boost::filesystem::path file); -- 2.30.2