fix more criticals

This commit is contained in:
ouwou 2024-01-14 21:36:52 -05:00
parent 7c8e91169e
commit af69c3d9f6

View File

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