Windows: Disable the Keyfiles button in system encryption wizard since we don't support them yet.

This commit is contained in:
Mounir IDRASSI 2019-09-25 15:04:28 +02:00
parent c8beacbdd7
commit 06e8fbace7
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
1 changed files with 2 additions and 1 deletions

View File

@ -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);