fixed bad call to isKeySupported()

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-07-10 18:30:37 +00:00
parent 54511ad390
commit 2ca0bf71d0

View File

@ -139,7 +139,7 @@ void ConfCertDialog::load()
return;
}
if(!rsPeers->isKeySupported(mId))
if(detail.isOnlyGPGdetail && !rsPeers->isKeySupported(mId))
{
ui.make_friend_button->setEnabled(false) ;
ui.make_friend_button->setToolTip(tr("The supplied key algorithm is not supported by RetroShare\n(Only RSA keys are supported at the moment)")) ;