diff options
author | slotwin <slotwin@users.noreply.github.com> | 2014-06-19 02:10:59 +0000 |
---|---|---|
committer | slotwin <slotwin@users.noreply.github.com> | 2014-06-19 02:10:59 +0000 |
commit | 67e3f0fb7e0ace16b2aae903d7f17beea95fafe0 (patch) | |
tree | fc1fd3d9d512287f0225cb72462697a9b6a869bb /plugins/Clist_nicer/src/clui.cpp | |
parent | a80bdd6af923f74516a4ccdb0fb2c72f82c48df4 (diff) |
Clist_nicer: fix updating state of toggle buttons (internal toptoolbar and skin buttons) when settings were changed by other plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@9539 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clui.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index af7cf779c3..9b8263034c 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -1566,7 +1566,8 @@ buttons_done: int newVal = !(GetWindowLongPtr(pcli->hwndContactTree, GWL_STYLE) & CLS_USEGROUPS);
cfg::writeByte("CList", "UseGroups", (BYTE)newVal);
SendMessage(pcli->hwndContactTree, CLM_SETUSEGROUPS, newVal, 0);
- CheckDlgButton(hwnd, IDC_TBHIDEGROUPS, newVal ? BST_CHECKED : BST_UNCHECKED);
+ ClcSetButtonState(IDC_TBHIDEGROUPS, newVal);
+ SetButtonStates(hwnd);
}
break;
case POPUP_HIDEMIRANDA:
|