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
This commit is contained in:
Eric Dong 2015-01-23 06:11:22 +00:00 committed by ydong10
parent 909ac47bf9
commit a687a1d207
1 changed files with 3 additions and 0 deletions

View File

@ -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;