summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_clc.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-06-08 14:11:04 +0000
committerRobert Pösel <robyer@seznam.cz>2012-06-08 14:11:04 +0000
commit622896cbc0960da3ea412615d23dfb30d624539b (patch)
tree0856ddb50a047ef918c90fdae219eb721ad063de /plugins/Modernb/modern_clc.cpp
parent47739a02585405a13b81123da3a9f3ff97cea0b9 (diff)
clist_modern: Temporary show empty groups when creating new group
clist_modern, clist_nicer: Also temporary enable groups when creating new group git-svn-id: http://svn.miranda-ng.org/main/trunk@361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Modernb/modern_clc.cpp')
-rw-r--r--plugins/Modernb/modern_clc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Modernb/modern_clc.cpp b/plugins/Modernb/modern_clc.cpp
index ec54139d94..243d399d52 100644
--- a/plugins/Modernb/modern_clc.cpp
+++ b/plugins/Modernb/modern_clc.cpp
@@ -519,6 +519,7 @@ static LRESULT clcOnCommand(struct ClcData *dat, HWND hwnd, UINT msg, WPARAM wPa
if (contact->type != CLCIT_GROUP)
return 0;
SetWindowLong(hwnd, GWL_STYLE, GetWindowLong(hwnd, GWL_STYLE) & ~CLS_HIDEEMPTYGROUPS);
+ SetWindowLong(hwnd, GWL_STYLE, GetWindowLong(hwnd, GWL_STYLE) | CLS_USEGROUPS);
CallService(MS_CLIST_GROUPCREATE, contact->groupId, 0);
return 0;
case POPUP_RENAMEGROUP: