Windows: fix HourGlass cursor showing up in main UI after launching disk decryption wizard/

This commit is contained in:
Mounir IDRASSI 2019-09-24 11:00:03 +02:00
parent 6b10f88e40
commit 8021d44465
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
1 changed files with 0 additions and 4 deletions

View File

@ -6069,8 +6069,6 @@ static void DecryptNonSysDevice (HWND hwndDlg, BOOL bResolveAmbiguousSelection,
return;
}
WaitCursor();
// Make sure the user is not attempting to decrypt a partition on an entirely encrypted system drive.
if (IsNonSysPartitionOnSysDrive (scPath.c_str ()) == 1)
{
@ -6088,8 +6086,6 @@ static void DecryptNonSysDevice (HWND hwndDlg, BOOL bResolveAmbiguousSelection,
{
// The system drive MAY be entirely encrypted (external access without PBA) and the potentially encrypted OS is not running
NormalCursor ();
Warning ("CANT_DECRYPT_PARTITION_ON_ENTIRELY_ENCRYPTED_SYS_DRIVE_UNSURE", hwndDlg);
// We allow the user to continue as we don't know if the drive is really an encrypted system drive.