diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
| commit | 69326e73b29be371dacbdacd741a0a88a5ef1a5b (patch) | |
| tree | e2766e3cf8eb2be0f0bdcb77bbbd7e52aff3229d /src/wx/full_config_dialog.cc | |
| parent | 09287979ce90e809880cd17fb20deb23669f68e4 (diff) | |
Fix two more badly-adapted instantiations of EditableList and make
it harder to make similar errors in the future.
Diffstat (limited to 'src/wx/full_config_dialog.cc')
| -rw-r--r-- | src/wx/full_config_dialog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index 0f99d85d8..40cb0c285 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -633,7 +633,7 @@ private: boost::bind (&Config::servers, Config::instance()), boost::bind (&Config::set_servers, Config::instance(), _1), boost::bind (&EncodingServersPage::server_column, this, _1), - false, + EditableListTitle::INVISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); @@ -991,7 +991,7 @@ private: [] (string s, int) { return s; }, - true, + EditableListTitle::VISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); table->Add (_cc, 1, wxEXPAND | wxALL); @@ -1128,7 +1128,7 @@ private: [] (string s, int) { return s; }, - true, + EditableListTitle::VISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); table->Add (_cc, 1, wxEXPAND | wxALL); |
