fixed wrong display of error when creating a new GxsId

This commit is contained in:
csoler 2020-12-04 14:39:48 +01:00
parent d5cce14cb1
commit fd2eed8b24

View File

@ -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