]> git.proxmox.com Git - mirror_edk2.git/commitdiff
The default type is not returned by display engine, this code update the logic to...
authorEric Dong <eric.dong@intel.com>
Fri, 23 Jan 2015 06:11:22 +0000 (06:11 +0000)
committerydong10 <ydong10@Edk2>
Fri, 23 Jan 2015 06:11:22 +0000 (06:11 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16647 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c

index b9090d370265474a844c0c3b3a50fd61a2a859cd..8e5d3074d2737148e464cdf1ce57dd4b86603c53 100644 (file)
@@ -3280,6 +3280,9 @@ UiDisplayMenu (
 \r
       if (FxConfirmPopup(HotKey->Action)) {\r
         gUserInput->Action = HotKey->Action;\r
+        if ((HotKey->Action & BROWSER_ACTION_DEFAULT) == BROWSER_ACTION_DEFAULT) {\r
+          gUserInput->DefaultId = HotKey->DefaultId;\r
+        }\r
         ControlFlag = CfExit;\r
       } else {\r
         Repaint     = TRUE;\r