diff options
-rw-r--r-- | plugins/Popup/src/opt_gen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Popup/src/opt_gen.cpp b/plugins/Popup/src/opt_gen.cpp index c5e3a31340..6e90a9f4e7 100644 --- a/plugins/Popup/src/opt_gen.cpp +++ b/plugins/Popup/src/opt_gen.cpp @@ -341,8 +341,9 @@ INT_PTR CALLBACK DlgProcPopupGeneral(HWND hwnd, UINT msg, WPARAM wParam, LPARAM int chk = IsDlgButtonChecked(hwnd, IDC_POPUPENABLED);
if (bEnabled && chk || !bEnabled && !chk)
svcEnableDisableMenuCommand(0, 0);
- EnableWindow(GetDlgItem(hwnd, IDC_STATUSES), bEnabled);
- EnableWindow(GetDlgItem(hwnd, IDC_DISABLEINFS), bEnabled);
+ EnableWindow(GetDlgItem(hwnd, IDC_STATUSES), !bEnabled);
+ EnableWindow(GetDlgItem(hwnd, IDC_DISABLEINFS), !bEnabled);
+ SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
}
break;
|