Set email address in GenCertDialog to optional.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-12-04 11:42:34 +00:00
parent 85c089b09b
commit a3e3566304

View File

@ -221,8 +221,7 @@ void GenCertDialog::genPerson()
QVariant data = ui.genPGPuser->itemData(pgpidx);
PGPId = (data.toString()).toStdString();
} else {
if (ui.password_input->text().length() < 3 || ui.name_input->text().length() < 3 ||
ui.email_input->text().length() < 3 || genLoc.length() < 3) {
if (ui.password_input->text().length() < 3 || ui.name_input->text().length() < 3 || genLoc.length() < 3) {
/* Message Dialog */
QMessageBox::warning(this,
tr("Generate PGP key Failure"),