diff options
| -rw-r--r-- | src/wx/fonts_dialog.cc | 6 | ||||
| -rw-r--r-- | 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); |
