mirror of https://github.com/acidanthera/audk.git
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:
parent
909ac47bf9
commit
a687a1d207
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue