mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 04:14:27 -04:00
Display the name of short invites properly
Instead of [Unknown], since the name is actually in the short invite.
This commit is contained in:
parent
f125539d79
commit
63ee463086
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ void ConnectFriendWizard::initializePage(int id)
|
||||||
if(mIsShortInvite)
|
if(mIsShortInvite)
|
||||||
{
|
{
|
||||||
if(ui->nameEdit->text().isEmpty())
|
if(ui->nameEdit->text().isEmpty())
|
||||||
ui->nameEdit->setText(tr("[Unknown]"));
|
ui->nameEdit->setText(QString::fromUtf8(peerDetails.name.c_str()));
|
||||||
ui->addKeyToKeyring_CB->setChecked(false);
|
ui->addKeyToKeyring_CB->setChecked(false);
|
||||||
ui->addKeyToKeyring_CB->setEnabled(false);
|
ui->addKeyToKeyring_CB->setEnabled(false);
|
||||||
ui->signersEdit->hide();
|
ui->signersEdit->hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue