mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Display Volume ID of a System Favorite even if it is disconnected
This commit is contained in:
@@ -840,7 +840,7 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable)
|
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)
|
if (favorite.Pim > 0)
|
||||||
{
|
{
|
||||||
wchar_t szTmp[MAX_PIM + 1];
|
wchar_t szTmp[MAX_PIM + 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user