From be5554e8292a2cbbc776f6f1dd1aa8df5bf3cad1 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 20 Apr 2020 20:40:16 +0200 Subject: [PATCH] fixed: the server list filter seems not to work if --showallservers is used --- src/connectdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 40d05d10..fc5ddc27 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -567,7 +567,7 @@ void CConnectDlg::UpdateListFilter() } // 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 // preserve if user clicked on expand icon manually @@ -593,7 +593,7 @@ void CConnectDlg::UpdateListFilter() QTreeWidgetItem* pCurListViewItem = lvwServers->topLevelItem ( iIdx ); // 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 ); }