1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

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

View File

@@ -6069,8 +6069,6 @@ static void DecryptNonSysDevice (HWND hwndDlg, BOOL bResolveAmbiguousSelection,
return; return;
} }
WaitCursor();
// Make sure the user is not attempting to decrypt a partition on an entirely encrypted system drive. // Make sure the user is not attempting to decrypt a partition on an entirely encrypted system drive.
if (IsNonSysPartitionOnSysDrive (scPath.c_str ()) == 1) 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 // 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); 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. // We allow the user to continue as we don't know if the drive is really an encrypted system drive.