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:
@ -3280,6 +3280,9 @@ UiDisplayMenu (
|
|||||||
|
|
||||||
if (FxConfirmPopup(HotKey->Action)) {
|
if (FxConfirmPopup(HotKey->Action)) {
|
||||||
gUserInput->Action = HotKey->Action;
|
gUserInput->Action = HotKey->Action;
|
||||||
|
if ((HotKey->Action & BROWSER_ACTION_DEFAULT) == BROWSER_ACTION_DEFAULT) {
|
||||||
|
gUserInput->DefaultId = HotKey->DefaultId;
|
||||||
|
}
|
||||||
ControlFlag = CfExit;
|
ControlFlag = CfExit;
|
||||||
} else {
|
} else {
|
||||||
Repaint = TRUE;
|
Repaint = TRUE;
|
||||||
|
Reference in New Issue
Block a user