summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/KeyboardNotify/src/options.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/KeyboardNotify/src/options.cpp b/plugins/KeyboardNotify/src/options.cpp
index 6da29bd54d..60c9f89ab3 100644
--- a/plugins/KeyboardNotify/src/options.cpp
+++ b/plugins/KeyboardNotify/src/options.cpp
@@ -449,7 +449,6 @@ INT_PTR CALLBACK DlgProcBasicOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
case IDC_IFOLDER:
case IDC_UNTILBLK:
case IDC_UNTILATTENDED:
- case IDC_MIRORWIN:
case IDC_UNTILOPEN:
case IDC_UNTILCOND:
case IDC_FSCREEN:
@@ -505,6 +504,10 @@ INT_PTR CALLBACK DlgProcBasicOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
if(HIWORD(wParam) == EN_CHANGE && !initDlg)
SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
return TRUE;
+ case IDC_MIRORWIN:
+ if(HIWORD(wParam) == CBN_SELCHANGE)
+ SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
+ return TRUE;
}
break;
@@ -672,10 +675,8 @@ INT_PTR CALLBACK DlgProcEffectOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case IDC_SAMETIME:
case IDC_INTURN:
case IDC_INSEQUENCE:
- case IDC_SEQORDER:
case IDC_CUSTOM:
case IDC_TRILLIAN:
- case IDC_SCUSTOM:
case IDC_SPEED:
case IDC_KEYPRESSES:
EnableWindow(GetDlgItem(hwndDlg, IDC_SEQORDER), IsDlgButtonChecked(hwndDlg, IDC_INSEQUENCE) == BST_CHECKED);
@@ -694,6 +695,11 @@ INT_PTR CALLBACK DlgProcEffectOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case IDC_PREVIEW:
previewFlashing(IsDlgButtonChecked(hwndDlg, IDC_PREVIEW) == BST_CHECKED);
return TRUE;
+ case IDC_SEQORDER:
+ case IDC_SCUSTOM:
+ if(HIWORD(wParam) == CBN_SELCHANGE)
+ SendMessage(GetParent(GetParent(hwndDlg)), PSM_CHANGED, 0, 0);
+ return TRUE;
}
break;