_table->Add (_send_logs, 1, wxEXPAND);
_table->AddSpacer (0);
- add_label_to_sizer (_table, this, _("Contact email"), true);
+ add_label_to_sizer (_table, this, _("Your email address"), true);
_email = new wxTextCtrl (this, wxID_ANY, wxT (""));
_email->SetValue (std_to_wx (Config::instance()->kdm_from ()));
_table->Add (_email, 1, wxEXPAND);
return;
}
+ if (_email->GetValue() == "carl@dcpomatic.com" || _email->GetValue() == "cth@carlh.net") {
+ error_dialog (this, wxString::Format (_("Enter your email address for the contact, not %s"), _email->GetValue().data()));
+ return;
+ }
+
JobManager::instance()->add (shared_ptr<Job> (new SendProblemReportJob (_film, wx_to_std (_email->GetValue ()), wx_to_std (_summary->GetValue ()))));
}