From 32b42cff14aad1897ee168ced472f7b4fd6d61a0 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 24 Apr 2016 01:00:02 +0200 Subject: Windows: Display Volume ID of a System Favorite even if it is disconnected --- src/Mount/Favorites.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mount/Favorites.cpp') 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]; -- cgit v1.2.3