VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-24 01:00:02 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-28 23:06:01 +0200
commit32b42cff14aad1897ee168ced472f7b4fd6d61a0 (patch)
treed3eda24c83060ac43fc41a7295766b74dd46c64c
parent0163dfdcab5904252ae8dd0d043aaa6951714bb8 (diff)
downloadVeraCrypt-32b42cff14aad1897ee168ced472f7b4fd6d61a0.tar.gz
VeraCrypt-32b42cff14aad1897ee168ced472f7b4fd6d61a0.zip
Windows: Display Volume ID of a System Favorite even if it is disconnected
-rw-r--r--src/Mount/Favorites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Favorites.cpp b/src/Mount/Favorites.cpp
index 58bfe263..45883bc9 100644
--- a/src/Mount/Favorites.cpp
+++ b/src/Mount/Favorites.cpp
@@ -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];