summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-02 19:04:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-02 19:04:30 +0000
commit07efc0b9b70f5668de147a6fb343d4693988217e (patch)
treefbb098b5b2857ed45d12479f2cbb27f4c0b11791 /src
parent6f4f6b814e77eb882431f8049d8101e3de6a7f53 (diff)
fix for converting a contact into a meta
git-svn-id: http://svn.miranda-ng.org/main/trunk@10039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index ca6d37881a..108c4d8445 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -61,6 +61,7 @@ INT_PTR Meta_Convert(WPARAM wParam, LPARAM)
db_set_dw(hMetaContact, META_PROTO, "NumContacts", 0);
cc->nSubs = 0;
+ currDb->MetaSetDefault(cc); // explicitly write default sub to a db
// Add the MetaContact protocol to the new meta contact
CallService(MS_PROTO_ADDTOCONTACT, hMetaContact, (LPARAM)META_PROTO);