summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-03-27 02:03:48 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-03-27 02:03:48 +0000
commit05b9f4cf701de3a96fd6bad4fd53257b1c0f735d (patch)
tree51c40ccf8f544bd83c47e44d7e56c1e6c524f756 /MdeModulePkg
parentd436d5ca0936b1be59bd60087cd0b6e0d2e08d76 (diff)
downloadedk2-05b9f4cf701de3a96fd6bad4fd53257b1c0f735d.tar.gz
edk2-05b9f4cf701de3a96fd6bad4fd53257b1c0f735d.tar.bz2
edk2-05b9f4cf701de3a96fd6bad4fd53257b1c0f735d.zip
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index ee8ab75a28..c3854aac24 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -1254,6 +1254,7 @@ ProcessCallBackFunction (
break;
case EFI_BROWSER_ACTION_REQUEST_EXIT:
+ DiscardFormIsRequired = TRUE;
Selection->Action = UI_ACTION_EXIT;
break;