mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 21:23:40 +01:00
Windows: Display Volume ID of a System Favorite even if it is disconnected
This commit is contained in:
parent
0163dfdcab
commit
32b42cff14
@ -840,7 +840,7 @@ namespace VeraCrypt
|
||||
|
||||
static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable)
|
||||
{
|
||||
BOOL bIsDevice = IsVolumeDeviceHosted (favorite.Path.c_str()) || !enable;
|
||||
BOOL bIsDevice = favorite.DisconnectedDevice || IsVolumeDeviceHosted (favorite.Path.c_str()) || !enable;
|
||||
if (favorite.Pim > 0)
|
||||
{
|
||||
wchar_t szTmp[MAX_PIM + 1];
|
||||
|
Loading…
Reference in New Issue
Block a user