Use explicit parameters to the EditableList constructor, and allow
[dcpomatic.git] / src / wx / recipient_dialog.cc
index f6e0b2cfc60928d28c09cb6e483c4ee6852b6fed..66b7f0e19bd24110c1e3bc65092f9ff64bbfb09f 100644 (file)
@@ -90,7 +90,8 @@ RecipientDialog::RecipientDialog (
        vector<EditableListColumn> columns;
        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)
+               this, columns, bind(&RecipientDialog::get_emails, this), bind(&RecipientDialog::set_emails, this, _1), bind(&column, _1),
+               EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE, true
                );
 
        _sizer->Add (_email_list, wxGBPosition (r, 0), wxGBSpan (1, 2), wxEXPAND);