bug fix
This commit is contained in:
parent
ac954adad8
commit
1426c7b44f
1 changed files with 3 additions and 2 deletions
|
@ -259,10 +259,11 @@ void CConnectDlg::SetServerList ( const CHostAddress& InetAddr,
|
|||
void CConnectDlg::OnServerListItemDoubleClicked ( QTreeWidgetItem* Item,
|
||||
int )
|
||||
{
|
||||
// if a server list item was double clicked, close dialog and connect
|
||||
// if a server list item was double clicked, it is the same as if the
|
||||
// connect button was clicked
|
||||
if ( Item != 0 )
|
||||
{
|
||||
close();
|
||||
OnConnectButtonClicked();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue