diff options
author | George Hazan <george.hazan@gmail.com> | 2014-04-02 20:48:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-04-02 20:48:49 +0000 |
commit | fe7d9276ebedd60308159925eb3f37d9a3b113a0 (patch) | |
tree | f428f64f810259da735f9b0b5e6c1f192c85385a /src/modules/metacontacts/meta_utils.cpp | |
parent | 830d54f9e030a7cf06e5ec7b51a52aa21ab5e457 (diff) |
fix for hiding metas' SRMM windows on disabling metacontacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@8830 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_utils.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_utils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp index 05fa5aa248..6f3b67bd78 100644 --- a/src/modules/metacontacts/meta_utils.cpp +++ b/src/modules/metacontacts/meta_utils.cpp @@ -426,6 +426,12 @@ int Meta_HideMetaContacts(bool bHide) db_unset(hContact, "CList", "Hidden");
}
+ if (bHide) {
+ for (int i = 0; i < arMetaWindows.getCount(); i++)
+ SendMessage((HWND)arMetaWindows[i], WM_CLOSE, 0, 0);
+ arMetaWindows.destroy();
+ }
+
return 0;
}
|