From afa73da4259ee9a00e60570031f94338542636d8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Apr 2014 14:45:54 +0000 Subject: - fixes #596 (Clist nicer skin doesn't show buttons) - code formatting fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/clc.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_nicer/src/clc.cpp') diff --git a/plugins/Clist_nicer/src/clc.cpp b/plugins/Clist_nicer/src/clc.cpp index 10a8546a3b..a4aecd563b 100644 --- a/plugins/Clist_nicer/src/clc.cpp +++ b/plugins/Clist_nicer/src/clc.cpp @@ -166,9 +166,10 @@ static int ClcSettingChanged(WPARAM hContact, LPARAM lParam) pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0); } } - else if (!__strcmp(cws->szModule, "Skin")) { + else if (!__strcmp(cws->szModule, "Skin") && !__strcmp(cws->szSetting, "UseSound")) { cfg::dat.soundsOff = cfg::getByte(cws->szModule, cws->szSetting, 0) ? 0 : 1; - ClcSetButtonState(IDC_TBSOUND, cfg::dat.soundsOff ? BST_UNCHECKED : BST_CHECKED); + ClcSetButtonState(IDC_TBSOUND, cfg::dat.soundsOff ? BST_CHECKED : BST_UNCHECKED); + SetButtonStates(pcli->hwndContactList); } else if (szProto == NULL) { if ( !__strcmp(cws->szSetting, "XStatusId")) -- cgit v1.2.3