diff options
author | George Hazan <george.hazan@gmail.com> | 2025-05-09 16:46:02 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-05-09 16:46:02 +0300 |
commit | 8553c260ff9939c9d78bbaf2634bb26a20342a3a (patch) | |
tree | 450d54a10aa2f30a5aaee873da557324e418c074 /plugins/TopToolBar/src/InternalButtons.cpp | |
parent | 41403799d2c11dd86142f03f7b562c6e02ff8d00 (diff) |
end of clist common settings zoo in m_clist.h
Diffstat (limited to 'plugins/TopToolBar/src/InternalButtons.cpp')
-rw-r--r-- | plugins/TopToolBar/src/InternalButtons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp index 305aee611e..c41c52e364 100644 --- a/plugins/TopToolBar/src/InternalButtons.cpp +++ b/plugins/TopToolBar/src/InternalButtons.cpp @@ -158,8 +158,8 @@ void InitInternalButtons() ttb.hIconHandleUp = Skin_GetIconHandle(SKINICON_OTHER_EXIT);
hExit = g_plugin.addTTB(&ttb);
- CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hShowHideOffline, Clist::HideOffline ? 0 : TTBST_PUSHED);
- CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hGroups, Clist::UseGroups ? TTBST_PUSHED : 0);
+ CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hShowHideOffline, Clist::bHideOffline ? 0 : TTBST_PUSHED);
+ CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hGroups, Clist::bUseGroups ? TTBST_PUSHED : 0);
CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hSounds,
db_get_b(0, "Skin", "UseSound", 1) ? TTBST_PUSHED : 0);
|