- Fix right click menu in tracker list and in peer list (Thanks Heavyjoost)

This commit is contained in:
Christophe Dumez
2009-11-29 08:16:58 +00:00
parent 6885f46f4b
commit 6ede368f63
2 changed files with 2 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ void PeerListWidget::showPeerListMenu(QPoint) {
}
if(empty_menu) return;
QAction *act = menu.exec(QCursor::pos());
if(act == 0) return;
if(act == addPeerAct) {
libtorrent::asio::ip::tcp::endpoint ep = PeerAdditionDlg::askForPeerEndpoint();
if(ep != libtorrent::asio::ip::tcp::endpoint()) {