summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2013-06-06 09:31:46 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-06-06 09:31:46 +0000
commit98970c607262f788ee5f3fd0bf6161d685b0f88b (patch)
tree9afbb041d1d02314a721f599f1f3f53dbbe91d76 /MdeModulePkg/Universal
parent443bd74473c7578d52677ec511b8c76c7120d96a (diff)
downloadedk2-platforms-98970c607262f788ee5f3fd0bf6161d685b0f88b.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal')
-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 c3854aac24..4cd71e5d44 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -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;