summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r--plugins/CrashDumper/src/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp
index 2619ac0e5c..2e2a91ca29 100644
--- a/plugins/CrashDumper/src/ui.cpp
+++ b/plugins/CrashDumper/src/ui.cpp
@@ -203,6 +203,10 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
CheckDlgButton(hwndDlg, IDC_CLASSICDATES, clsdates);
CheckDlgButton(hwndDlg, IDC_DATESUBFOLDER, dtsubfldr);
CheckDlgButton(hwndDlg, IDC_CATCHCRASHES, catchcrashes);
+ if (!catchcrashes) {
+ EnableWindow(GetDlgItem(hwndDlg, IDC_CLASSICDATES), FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_DATESUBFOLDER), FALSE);
+ }
if (needrestart)
ShowWindow(GetDlgItem(hwndDlg, IDC_RESTARTNOTE), SW_SHOW);
}