diff options
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c index 4dd439521e..baf36a213b 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c @@ -2485,6 +2485,10 @@ UiDisplayMenu ( if (Link != NewPos || Index > BottomRow || (Link == NewPos && SavedMenuOption->Row + SavedMenuOption->Skip - 1 > BottomRow)) {
//
+ // Find the MenuOption which has the skip value for Date/Time opcode.
+ //
+ AdjustDateAndTimePosition(FALSE, &NewPos);
+ //
// NewPos is not in the current page, simply scroll page so that NewPos is in the end of the page
//
SavedMenuOption = MENU_OPTION_FROM_LINK (NewPos);
|