Fix two more badly-adapted instantiations of EditableList and make
[dcpomatic.git] / src / wx / recipient_dialog.cc
index 66b7f0e19bd24110c1e3bc65092f9ff64bbfb09f..688dcafbdc15d304f3a3568938201ba656ada735 100644 (file)
@@ -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);