Fix two more badly-adapted instantiations of EditableList and make
[dcpomatic.git] / src / wx / cinema_dialog.cc
index f6007d2351eeb4cd9e740ff4acb978cac50a77f9..8c7194c4a7433084878347568ddcdb1ccb17e322 100644 (file)
@@ -71,7 +71,7 @@ CinemaDialog::CinemaDialog (wxWindow* parent, wxString title, string name, list<
        _email_list = new EditableList<string, EmailDialog> (
                this, columns, bind (&CinemaDialog::get_emails, this), bind (&CinemaDialog::set_emails, 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);