summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/actions.cpp
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-25 10:06:55 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-25 10:06:55 +0000
commit22e6808c500a955bc9050749f9db2beb6ae2cac1 (patch)
tree3e99ec0a00f831eb73224126b2866ec63cc0e9bd /plugins/Popup/src/actions.cpp
parent955cf8eecb32598834324a974056ae9806296aef (diff)
Popup: fixed behavior of the Actions options page
git-svn-id: http://svn.miranda-ng.org/main/trunk@4817 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/actions.cpp')
-rw-r--r--plugins/Popup/src/actions.cpp11
1 files changed, 5 insertions, 6 deletions
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;
}