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/recipient_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/recipient_dialog.cc')
| -rw-r--r-- | src/wx/recipient_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/recipient_dialog.cc b/src/wx/recipient_dialog.cc index 66b7f0e19..688dcafbd 100644 --- a/src/wx/recipient_dialog.cc +++ b/src/wx/recipient_dialog.cc @@ -91,7 +91,8 @@ RecipientDialog::RecipientDialog ( columns.push_back (EditableListColumn(_("Address"))); _email_list = new EditableList<string, EmailDialog> ( this, columns, bind(&RecipientDialog::get_emails, this), bind(&RecipientDialog::set_emails, this, _1), bind(&column, _1), - EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE, true + EditableListTitle::VISIBLE, + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); _sizer->Add (_email_list, wxGBPosition (r, 0), wxGBSpan (1, 2), wxEXPAND); |
