diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-16 11:46:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-16 11:46:58 +0100 |
| commit | d6b3f383a94a8022427824568cbb383caa7c8773 (patch) | |
| tree | 550487a1681751a6ea6fcf3b5effbebbc62bedd5 /src/wx/fonts_dialog.cc | |
| parent | 00dc07c35ba63cccff1a5b7578784351a8a753b8 (diff) | |
Rename update_sensitivity to setup_sensitivity for consistency.
Diffstat (limited to 'src/wx/fonts_dialog.cc')
| -rw-r--r-- | src/wx/fonts_dialog.cc | 6 |
1 files changed, 3 insertions, 3 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); |
