summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-02 14:12:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-02 14:12:03 +0300
commit118580d1089cd4677031f7490f161f02f0fc6286 (patch)
tree841b713116ccb449bdb04e235dacc0f9111c0e16
parent10b7d7d68b568a27b18334853c87c4856ae464c7 (diff)
fixes #3370 (MRA: падение при редактировании групп на сервере)
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index 7a2c9d1002..18064206d4 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -245,6 +245,8 @@ public:
void RefreshGroups()
{
+ groups.DeleteAllItems();
+
for (auto &it : m_proto->m_arGroups.rev_iter())
groups.AddItem(it->wszName, 0, (LPARAM)it);
}