only a single # in the filter edit box should filter for occupied servers
This commit is contained in:
parent
4f4cc8db99
commit
e4bdbee966
1 changed files with 2 additions and 1 deletions
|
@ -575,7 +575,8 @@ void CConnectDlg::UpdateListFilter()
|
|||
// special case: filter for occupied servers
|
||||
// DEFINITION: if "#" is set at the beginning of the filter text, we show
|
||||
// occupied servers (#397)
|
||||
if ( ( sFilterText.indexOf ( "#" ) == 0 ) && ( pCurListViewItem->childCount() > 0 ) )
|
||||
if ( ( sFilterText.indexOf ( "#" ) == 0 ) && ( sFilterText.length() == 1 ) &&
|
||||
( pCurListViewItem->childCount() > 0 ) )
|
||||
{
|
||||
bFilterFound = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue