diff --git a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c index 13b40e11b3..4b2c4c77a1 100644 --- a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c +++ b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c @@ -535,9 +535,9 @@ UpdateBootManager ( mKeyInput++; // - // Don't display the hidden/inactive boot option + // Don't display hidden boot options, but retain inactive ones. // - if (((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption[Index].Attributes & LOAD_OPTION_ACTIVE) == 0)) { + if ((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) { continue; }