From 2ae9f2d50d52f71a4103a077d32983de6f805381 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 29 May 2014 15:09:49 +0000 Subject: [PATCH] Add Patch from Phenom: Fix return to GenCertDialog when RsAccounts::GenerateSSLCertificate failed (if you enter a false password). Now, directly abort. And order tab stop. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7389 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/GenCertDialog.cpp | 11 +++---- retroshare-gui/src/gui/GenCertDialog.ui | 37 +++++++++++++++--------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/retroshare-gui/src/gui/GenCertDialog.cpp b/retroshare-gui/src/gui/GenCertDialog.cpp index eb8cf1f65..b06b8916e 100644 --- a/retroshare-gui/src/gui/GenCertDialog.cpp +++ b/retroshare-gui/src/gui/GenCertDialog.cpp @@ -464,8 +464,9 @@ void GenCertDialog::genPerson() { /* Message Dialog */ QMessageBox::warning(this, - tr("Generate ID Failure"), - tr("Failed to Generate your new Certificate, maybe PGP password is wrong!"), - QMessageBox::Ok); - } -} + tr("Generate ID Failure"), + tr("Failed to Generate your new Certificate, maybe PGP password is wrong!"), + QMessageBox::Ok); + reject(); + } +} diff --git a/retroshare-gui/src/gui/GenCertDialog.ui b/retroshare-gui/src/gui/GenCertDialog.ui index 7276a8b04..fd1b97093 100644 --- a/retroshare-gui/src/gui/GenCertDialog.ui +++ b/retroshare-gui/src/gui/GenCertDialog.ui @@ -3,13 +3,13 @@ GenCertDialog - - 0 - 0 - 677 - 509 - - + + 0 + 0 + 784 + 509 + + Create new Profile @@ -462,13 +462,22 @@ anonymous, you can use a fake email. - genPGPuser - name_input - email_input - location_input - - - + genPGPuser + name_input + email_input + password_input + password_input_2 + location_input + hiddenaddr_input + hiddenport_spinBox + genButton + new_gpg_key_checkbox + hidden_checkbox + importIdentity_PB + exportIdentity_PB + + +