fixed: the server list filter seems not to work if --showallservers is used
This commit is contained in:
parent
6883c30dec
commit
be5554e829
1 changed files with 2 additions and 2 deletions
|
@ -567,7 +567,7 @@ void CConnectDlg::UpdateListFilter()
|
||||||
}
|
}
|
||||||
|
|
||||||
// only update Hide state if ping time was received
|
// only update Hide state if ping time was received
|
||||||
if ( !pCurListViewItem->text ( 1 ).isEmpty() )
|
if ( !pCurListViewItem->text ( 1 ).isEmpty() || bShowCompleteRegList )
|
||||||
{
|
{
|
||||||
// only update hide and expand status if the hide state has to be changed to
|
// only update hide and expand status if the hide state has to be changed to
|
||||||
// preserve if user clicked on expand icon manually
|
// preserve if user clicked on expand icon manually
|
||||||
|
@ -593,7 +593,7 @@ void CConnectDlg::UpdateListFilter()
|
||||||
QTreeWidgetItem* pCurListViewItem = lvwServers->topLevelItem ( iIdx );
|
QTreeWidgetItem* pCurListViewItem = lvwServers->topLevelItem ( iIdx );
|
||||||
|
|
||||||
// if ping time is empty, hide item (if not already hidden)
|
// if ping time is empty, hide item (if not already hidden)
|
||||||
if ( pCurListViewItem->text ( 1 ).isEmpty() )
|
if ( pCurListViewItem->text ( 1 ).isEmpty() && !bShowCompleteRegList )
|
||||||
{
|
{
|
||||||
pCurListViewItem->setHidden ( true );
|
pCurListViewItem->setHidden ( true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue