From 135f914b387c1358409dc007608f88bfe13d69ba Mon Sep 17 00:00:00 2001 From: badoge <18620902+badoge@users.noreply.github.com> Date: Sat, 28 May 2022 15:11:51 +0400 Subject: [PATCH] Hide category labels when searching in Viewer list (#3719) This fixed a bug introduced in #3683 Co-authored-by: pajlada --- CHANGELOG.md | 2 +- src/widgets/splits/Split.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ab30cecf..c71505055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Minor: Fixed being unable to load Twitch Usercards from the `/mentions` tab. (#3623) - Minor: Add information about the user's operating system in the About page. (#3663) - Bugfix: Connection to Twitch PubSub now recovers more reliably. (#3643, #3716) -- Minor: Added chatter count for each category in viewer list. (#3683) +- Minor: Added chatter count for each category in viewer list. (#3683, #3719) - Minor: Sorted usernames in /vips message to be case-insensitive. (#3696) - Minor: Added option to open a user's chat in a new tab from the usercard profile picture context menu. (#3625) - Minor: Fixed tag parsing for consecutive escaped characters. (#3711) diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index ac9923a15..8f9b7370d 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -1037,7 +1037,7 @@ void Split::showViewerList() resultList->clear(); for (auto &item : results) { - if (!labels.contains(item->text())) + if (!item->text().contains("(")) { resultList->addItem(formatListItemText(item->text())); }