fixed: if you select server list filter all text and delete, the filter is not updated

This commit is contained in:
Volker Fischer 2020-04-19 15:17:06 +02:00
parent 65583e3451
commit ad6bcc2317
2 changed files with 13 additions and 4 deletions

View file

@ -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

View file

@ -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;