Update code to follow spec, add discard form action before reset.

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@14397 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2013-06-06 09:31:46 +00:00 committed by ydong10
parent 443bd74473
commit 98970c6072
1 changed files with 1 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ ProcessCallBackFunction (
if (Action == EFI_BROWSER_ACTION_CHANGED) {
switch (ActionRequest) {
case EFI_BROWSER_ACTION_REQUEST_RESET:
DiscardFormIsRequired = TRUE;
gResetRequired = TRUE;
Selection->Action = UI_ACTION_EXIT;
break;