mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed wrong display of error when creating a new GxsId
This commit is contained in:
parent
d5cce14cb1
commit
fd2eed8b24
@ -564,11 +564,9 @@ void IdEditDialog::createId()
|
||||
{
|
||||
ui->createButton->setEnabled(false);
|
||||
|
||||
RsIdentityDetails det;
|
||||
|
||||
if(rsIdentity->getIdDetails(keyId,det))
|
||||
if(!keyId.isNull())
|
||||
{
|
||||
QMessageBox::information(NULL,tr("Identity creation success"),tr("Your new identity was successfuly created."));
|
||||
QMessageBox::information(NULL,tr("Identity creation success"),tr("Your new identity was successfuly created, its ID is %1.").arg(QString::fromStdString(keyId.toStdString())));
|
||||
close();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user