From d049eb6dd9de7f10469b62e67afc1485d832b0c3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jul 2017 18:46:31 +0300 Subject: fix for toggled menu item text in NAS --- plugins/NewAwaySysMod/src/AwaySys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewAwaySysMod/src') diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp index 07901cb226..217b55e729 100644 --- a/plugins/NewAwaySysMod/src/AwaySys.cpp +++ b/plugins/NewAwaySysMod/src/AwaySys.cpp @@ -398,9 +398,9 @@ INT_PTR ToggleSendOnEvent(WPARAM hContact, LPARAM) int SendOnEvent = CContactSettings(g_ProtoStates[(LPSTR)NULL].m_status).Autoreply; if (SendOnEvent) - Menu_ModifyItem(g_hToggleSOEMenuItem, ENABLE_SOE_COMMAND, iconList[1].hIcolib); + Menu_ModifyItem(g_hToggleSOEMenuItem, DISABLE_SOE_COMMAND, iconList[1].hIcolib); else - Menu_ModifyItem(g_hToggleSOEMenuItem, DISABLE_SOE_COMMAND, iconList[0].hIcolib); + Menu_ModifyItem(g_hToggleSOEMenuItem, ENABLE_SOE_COMMAND, iconList[0].hIcolib); if (g_hTopToolbarbutton) CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)g_hTopToolbarbutton, SendOnEvent ? TTBST_PUSHED : 0); -- cgit v1.2.3