summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/vk_dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_dialogs.cpp b/protocols/VKontakte/src/vk_dialogs.cpp
index 38897e61c7..36b2829126 100644
--- a/protocols/VKontakte/src/vk_dialogs.cpp
+++ b/protocols/VKontakte/src/vk_dialogs.cpp
@@ -177,7 +177,7 @@ CVkUserListForm::CVkUserListForm(CVkProto* proto) :
lContacts(20, NumericKeySortT),
uClcFilterFlag(0)
{
- m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
+ m_clc.OnNewContact = m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
}
@@ -194,7 +194,7 @@ CVkUserListForm::CVkUserListForm(CVkProto* proto, CMStringW _wszMessage, CMStrin
lContacts(5, PtrKeySortT),
uClcFilterFlag(_uClcFilterFlag)
{
- m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
+ m_clc.OnNewContact = m_clc.OnListRebuilt = Callback(this, &CVkUserListForm::FilterList);
}
bool CVkUserListForm::OnInitDialog()