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