summaryrefslogtreecommitdiff
path: root/src/components/channellist
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/channellist')
-rw-r--r--src/components/channellist/channellisttree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/channellist/channellisttree.cpp b/src/components/channellist/channellisttree.cpp
index b9c4d3c..5a8b783 100644
--- a/src/components/channellist/channellisttree.cpp
+++ b/src/components/channellist/channellisttree.cpp
@@ -343,6 +343,9 @@ void ChannelListTree::OnPanedPositionChanged() {
void ChannelListTree::UpdateListingClassic() {
m_updating_listing = true;
+ // refilter so every row is visible
+ // otherwise clear() causes a CRITICAL assert in a slot for the filter model
+ m_filter_model->refilter();
m_model->clear();
auto &discord = Abaddon::Get().GetDiscordClient();