VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-23 23:00:02 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-28 21:06:01 (GMT)
commit32b42cff14aad1897ee168ced472f7b4fd6d61a0 (patch)
treed3eda24c83060ac43fc41a7295766b74dd46c64c
parent0163dfdcab5904252ae8dd0d043aaa6951714bb8 (diff)
downloadVeraCrypt-32b42cff14aad1897ee168ced472f7b4fd6d61a0.zip
VeraCrypt-32b42cff14aad1897ee168ced472f7b4fd6d61a0.tar.gz
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 58bfe26..45883bc 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];