mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
fixed wrong display of error when creating a new GxsId
This commit is contained in:
parent
d5cce14cb1
commit
fd2eed8b24
1 changed files with 2 additions and 4 deletions
|
@ -564,11 +564,9 @@ void IdEditDialog::createId()
|
||||||
{
|
{
|
||||||
ui->createButton->setEnabled(false);
|
ui->createButton->setEnabled(false);
|
||||||
|
|
||||||
RsIdentityDetails det;
|
if(!keyId.isNull())
|
||||||
|
|
||||||
if(rsIdentity->getIdDetails(keyId,det))
|
|
||||||
{
|
{
|
||||||
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();
|
close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue