From 63ee463086c54d85a3605edc048aaf32c57b5dbc Mon Sep 17 00:00:00 2001 From: David Gerber Date: Sat, 5 Feb 2022 18:12:04 +0100 Subject: [PATCH] Display the name of short invites properly Instead of [Unknown], since the name is actually in the short invite. --- retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp b/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp index 15456bbd5..ca56e06aa 100755 --- a/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp +++ b/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp @@ -599,7 +599,7 @@ void ConnectFriendWizard::initializePage(int id) if(mIsShortInvite) { 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->setEnabled(false); ui->signersEdit->hide();