From ad6bcc2317dc943fe784e75459e323d732a5f978 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 19 Apr 2020 15:17:06 +0200 Subject: [PATCH] fixed: if you select server list filter all text and delete, the filter is not updated --- ChangeLog | 6 +++--- src/connectdlg.cpp | 11 ++++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bde6568..4161167c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,13 +6,13 @@ * store Show All Musicians setting in the ini-file -TODO if you select server list filter all text and delete, the filter is not updated +TODO offer the Jamulus ASIO settingspanel in case of an ASIO ERROR to fix, e.g., incorrect sample rate (https://sourceforge.net/p/llcon/discussion/533517/thread/777663cf94/#035f) + +TODO audio level changes if Buffer Delay is changed TODO improve audio drop out behaviour with OPUS64 by tuning the coding rate (it seems that for some coding rates we get loud artifacts on audio drop outs whereas for slightly different rates the behavior is much more pleasent) -TODO offer the Jamulus ASIO settingspanel in case of an ASIO ERROR to fix, e.g., incorrect sample rate (https://sourceforge.net/p/llcon/discussion/533517/thread/777663cf94/#035f) - TODO try to find a way to catch Windows exceptions in case a 64 bit Jamulus tries to load a 32 bit Jack Audio ASIO dll TODO the server list filter seems not to work if --showallservers is used diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index c08c37ae..40d05d10 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -593,10 +593,19 @@ void CConnectDlg::UpdateListFilter() QTreeWidgetItem* pCurListViewItem = lvwServers->topLevelItem ( iIdx ); // if ping time is empty, hide item (if not already hidden) - if ( pCurListViewItem->text ( 1 ).isEmpty() && !pCurListViewItem->isHidden() ) + if ( pCurListViewItem->text ( 1 ).isEmpty() ) { pCurListViewItem->setHidden ( true ); } + else + { + // in case it was hidden, show it and take care of expand + if ( pCurListViewItem->isHidden() ) + { + pCurListViewItem->setHidden ( false ); + pCurListViewItem->setExpanded ( bShowAllMusicians ); + } + } } bListFilterWasActive = false;