]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update select highlight menu logic when opcode is date/time
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Nov 2011 05:09:36 +0000 (05:09 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Nov 2011 05:09:36 +0000 (05:09 +0000)
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12720 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/SetupBrowserDxe/Ui.c

index 4dd439521e5b8408b5838d8f8079ffe9db8067ba..baf36a213b30548ed37a93dd7f987e6c4a90eff9 100644 (file)
@@ -2484,6 +2484,10 @@ UiDisplayMenu (
           }\r
 \r
           if (Link != NewPos || Index > BottomRow || (Link == NewPos && SavedMenuOption->Row + SavedMenuOption->Skip - 1 > BottomRow)) {\r
+            //\r
+            // Find the MenuOption which has the skip value for Date/Time opcode. \r
+            //\r
+            AdjustDateAndTimePosition(FALSE, &NewPos);\r
             //\r
             // NewPos is not in the current page, simply scroll page so that NewPos is in the end of the page\r
             //\r