diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-09-25 15:04:28 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-09-25 17:43:59 +0200 |
commit | 06e8fbace7f7c85d9b5776c29e7ffc2534478616 (patch) | |
tree | 5211ae3ac4f962d68b794fdcc04e08f98b1f9f5c /src | |
parent | c8beacbdd70c29f9c4a38c43c52c557b30d37fe2 (diff) | |
download | VeraCrypt-06e8fbace7f7c85d9b5776c29e7ffc2534478616.tar.gz VeraCrypt-06e8fbace7f7c85d9b5776c29e7ffc2534478616.zip |
Windows: Disable the Keyfiles button in system encryption wizard since we don't support them yet.
Diffstat (limited to 'src')
-rw-r--r-- | src/Format/Tcformat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 0841aaa6..009f8e17 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -4391,7 +4391,8 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa SetCheckBox (hwndDlg, IDC_PIM_ENABLE, PimEnable); SetCheckBox (hwndDlg, IDC_KEYFILES_ENABLE, KeyFilesEnable && !SysEncInEffect()); - EnableWindow (GetDlgItem (hwndDlg, IDC_KEY_FILES), KeyFilesEnable); + EnableWindow (GetDlgItem (hwndDlg, IDC_KEY_FILES), KeyFilesEnable && !SysEncInEffect()); + EnableWindow (GetDlgItem (hwndDlg, IDC_KEYFILES_ENABLE), !SysEncInEffect()); SetWindowTextW (GetDlgItem (hwndDlg, IDC_BOX_HELP), str); |