diff options
author | Eric Dong <eric.dong@intel.com> | 2015-01-23 06:11:22 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-01-23 06:11:22 +0000 |
commit | a687a1d207f1b84e08f2a45fcbc0c0d8f0763214 (patch) | |
tree | c43fb549c2bfacc040f47a39db68cbad1308601f /MdeModulePkg/Universal | |
parent | 909ac47bf94b3fb375b79774a839980b43bf8e0a (diff) | |
download | edk2-platforms-a687a1d207f1b84e08f2a45fcbc0c0d8f0763214.tar.xz |
The default type is not returned by display engine, this code update the logic to return it.
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
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c index b9090d3702..8e5d3074d2 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c @@ -3280,6 +3280,9 @@ UiDisplayMenu ( if (FxConfirmPopup(HotKey->Action)) {
gUserInput->Action = HotKey->Action;
+ if ((HotKey->Action & BROWSER_ACTION_DEFAULT) == BROWSER_ACTION_DEFAULT) {
+ gUserInput->DefaultId = HotKey->DefaultId;
+ }
ControlFlag = CfExit;
} else {
Repaint = TRUE;
|