Update the code to follow UEFI spec, do the discard action when return EFI_BROWSER_ACTION_REQUEST_EXIT.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14219 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2013-03-27 02:03:48 +00:00
parent d436d5ca09
commit 05b9f4cf70
1 changed files with 1 additions and 0 deletions

View File

@ -1254,6 +1254,7 @@ ProcessCallBackFunction (
break;
case EFI_BROWSER_ACTION_REQUEST_EXIT:
DiscardFormIsRequired = TRUE;
Selection->Action = UI_ACTION_EXIT;
break;