summaryrefslogtreecommitdiff
path: root/plugins/Svc_crshdmp/ui.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-22 06:41:04 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-22 06:41:04 +0000
commitde1292e9f4e979e70c568eb2247cefbdf470fcec (patch)
treefebb0d287e86875d9481ec003892744e7eb07bc6 /plugins/Svc_crshdmp/ui.cpp
parent9ec2ba379f413bc3817a49f374c5faa1ee23c01a (diff)
Svc_crshdmp - patch from Mataes
git-svn-id: http://svn.miranda-ng.org/main/trunk@126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Svc_crshdmp/ui.cpp')
-rw-r--r--plugins/Svc_crshdmp/ui.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Svc_crshdmp/ui.cpp b/plugins/Svc_crshdmp/ui.cpp
index 8eb1e048f2..6aa37a72bd 100644
--- a/plugins/Svc_crshdmp/ui.cpp
+++ b/plugins/Svc_crshdmp/ui.cpp
@@ -226,6 +226,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
}
CheckDlgButton(hwndDlg, IDC_UPLOADCHN, DBGetContactSettingByte(NULL, PluginName, "UploadChanged", 0));
CheckDlgButton(hwndDlg, IDC_CLASSICDATES, clsdates);
+ CheckDlgButton(hwndDlg, IDC_DATESUBFOLDER, dtsubfldr);
}
break;
@@ -253,6 +254,11 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
DBWriteContactSettingByte(NULL, PluginName, "ClassicDates", 1);
else
DBDeleteContactSetting(NULL, PluginName, "ClassicDates");
+ dtsubfldr = IsDlgButtonChecked(hwndDlg, IDC_DATESUBFOLDER) == BST_CHECKED;
+ if (dtsubfldr)
+ DBWriteContactSettingByte(NULL, PluginName, "SubFolders", 1);
+ else
+ DBDeleteContactSetting(NULL, PluginName, "SubFolders");
}
break;
}