summaryrefslogtreecommitdiff
path: root/src/wx/extra_kdm_email_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-01 20:42:01 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-01 20:42:01 +0200
commit69326e73b29be371dacbdacd741a0a88a5ef1a5b (patch)
treee2766e3cf8eb2be0f0bdcb77bbbd7e52aff3229d /src/wx/extra_kdm_email_dialog.cc
parent09287979ce90e809880cd17fb20deb23669f68e4 (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/extra_kdm_email_dialog.cc')
-rw-r--r--src/wx/extra_kdm_email_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/extra_kdm_email_dialog.cc b/src/wx/extra_kdm_email_dialog.cc
index 8a8a37f0a..de11825f4 100644
--- a/src/wx/extra_kdm_email_dialog.cc
+++ b/src/wx/extra_kdm_email_dialog.cc
@@ -48,7 +48,7 @@ ExtraKDMEmailDialog::ExtraKDMEmailDialog (wxWindow* parent, vector<string> email
_email_list = new EditableList<string, EmailDialog> (
this, columns, bind(&ExtraKDMEmailDialog::get, this), bind(&ExtraKDMEmailDialog::set, this, _1), [](string s, int) {
return s;
- }, false, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE
+ }, EditableListTitle::INVISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE
);
sizer->Add (_email_list, wxGBPosition(r, 0), wxGBSpan(1, 2), wxEXPAND);