fixed text of the tabwidget for retroshare id

This commit is contained in:
defnax 2019-11-23 23:09:39 +01:00
parent 94afa6dbf9
commit ad02c4c91e
2 changed files with 9 additions and 3 deletions

View File

@ -275,10 +275,16 @@ void ConfCertDialog::loadInvitePage()
std::string invite ;
if(ui._shortFormat_CB->isChecked())
rsPeers->getShortInvite(invite,detail.id,true,!ui._includeIPHistory_CB->isChecked() );
{
rsPeers->getShortInvite(invite,detail.id,true,!ui._includeIPHistory_CB->isChecked() );
ui.stabWidget->setTabText(1, tr("Retroshare ID"));
}
else
{
invite = rsPeers->GetRetroshareInvite(detail.id, ui._shouldAddSignatures_CB->isChecked(), ui._includeIPHistory_CB->isChecked() ) ;
ui.stabWidget->setTabText(1, tr("Retroshare Certificate"));
}
QString infotext = getCertificateDescription(detail,ui._shouldAddSignatures_CB->isChecked(),ui._shortFormat_CB->isChecked(), ui._includeIPHistory_CB->isChecked() );
ui.userCertificateText->setToolTip(infotext) ;

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>658</width>
<height>1120</height>
<height>584</height>
</rect>
</property>
<property name="windowTitle">