From 22e6808c500a955bc9050749f9db2beb6ae2cac1 Mon Sep 17 00:00:00 2001 From: Sergey Tatarinov Date: Sat, 25 May 2013 10:06:55 +0000 Subject: Popup: fixed behavior of the Actions options page git-svn-id: http://svn.miranda-ng.org/main/trunk@4817 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/actions.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/Popup/src/actions.cpp b/plugins/Popup/src/actions.cpp index 5145153985..9b5fd8fda8 100644 --- a/plugins/Popup/src/actions.cpp +++ b/plugins/Popup/src/actions.cpp @@ -370,14 +370,13 @@ INT_PTR CALLBACK DlgProcPopupActions(HWND hwnd, UINT msg, WPARAM wParam, LPARAM db_set_dw(NULL, MODULNAME, "OverrideMiddle", PopupOptions.overrideMiddle); db_set_dw(NULL, MODULNAME, "OverrideRight", PopupOptions.overrideRight); } - } break; - case IDC_ACTIONS: - NMLISTVIEW *nmlv = (NMLISTVIEW *)lParam; - if (windowInitialized && nmlv && nmlv->hdr.code == LVN_ITEMCHANGED && nmlv->uOldState != 0 && (nmlv->uNewState == 0x1000 || nmlv->uNewState == 0x2000)) - SendMessage(GetParent(hwnd), PSM_CHANGED,0,0); - break; + case IDC_ACTIONS: + NMLISTVIEW *nmlv = (NMLISTVIEW *)lParam; + if (windowInitialized && nmlv && nmlv->hdr.code == LVN_ITEMCHANGED && nmlv->uOldState != 0 && (nmlv->uNewState == 0x1000 || nmlv->uNewState == 0x2000)) + SendMessage(GetParent(hwnd), PSM_CHANGED,0,0); + } } return FALSE; } -- cgit v1.2.3