summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-08 13:57:59 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-08 13:57:59 +0000
commit4cd67e491630bf983a842934f816ef6656913163 (patch)
treedfcbacc987e523770fb65c84bfc83a92f03276d4 /plugins
parent631784c6fc67761742280e1fb876867bc1bb50fe (diff)
ui fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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);
}