summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/chatlist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/chatlist.cpp b/src/components/chatlist.cpp
index 9bd8daf..d2995ee 100644
--- a/src/components/chatlist.cpp
+++ b/src/components/chatlist.cpp
@@ -34,6 +34,9 @@ void ChatList::Clear() {
delete *it;
it++;
}
+ m_id_to_widget.clear();
+ m_num_messages = 0;
+ m_num_rows = 0;
}
void ChatList::SetActiveChannel(Snowflake id) {