fixed missing connection to connect attempt

This commit is contained in:
csoler 2019-08-24 20:45:13 +02:00
parent 8a7722388a
commit 0cea0e5217
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C

View file

@ -659,7 +659,7 @@ void NewFriendList::peerTreeWidgetCustomPopupMenu()
mModel->getNodeData(index,details); mModel->getNodeData(index,details);
if(!rsPeers->isHiddenNode(rsPeers->getOwnId()) || rsPeers->isHiddenNode( details.id )) if(!rsPeers->isHiddenNode(rsPeers->getOwnId()) || rsPeers->isHiddenNode( details.id ))
contextMenu.addAction(QIcon(IMAGE_CONNECT), tr("Attempt to connect"), this, SLOT(connectfriend())); contextMenu.addAction(QIcon(IMAGE_CONNECT), tr("Attempt to connect"), this, SLOT(connectNode()));
contextMenu.addAction(QIcon(IMAGE_COPYLINK), tr("Copy certificate link"), this, SLOT(copyFullCertificate())); contextMenu.addAction(QIcon(IMAGE_COPYLINK), tr("Copy certificate link"), this, SLOT(copyFullCertificate()));