summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/BootManagerUiLib/BootManager.c')
-rw-r--r--MdeModulePkg/Library/BootManagerUiLib/BootManager.c4
1 files changed, 2 insertions, 2 deletions
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;
}