summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/SetupBrowserDxe
diff options
context:
space:
mode:
authorCecil Sheng <cecil.sheng@hpe.com>2015-12-15 05:49:14 +0000
committerydong10 <ydong10@Edk2>2015-12-15 05:49:14 +0000
commit8ab3c094b37472d60ff018900cdfc5a34cf9e5a8 (patch)
tree922d5fe456985696a63137d6e3d9b57a0e6b5d99 /MdeModulePkg/Universal/SetupBrowserDxe
parent33e2ba78eeaa9b56f27b7174d66ca5180832623b (diff)
downloadedk2-8ab3c094b37472d60ff018900cdfc5a34cf9e5a8.tar.gz
edk2-8ab3c094b37472d60ff018900cdfc5a34cf9e5a8.tar.bz2
edk2-8ab3c094b37472d60ff018900cdfc5a34cf9e5a8.zip
Rollback change r19245 because it missed one change.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cecil Sheng <cecil.sheng@hpe.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19267 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 7bf91df857..356cd9cd9a 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -2,7 +2,6 @@
Utility functions for UI presentation.
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
-(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -2506,13 +2505,10 @@ SetupBrowser (
//
if (EFI_ERROR (Status)) {
//
- // Cross reference will not be taken, restore all essential field
+ // Cross reference will not be taken
//
- Selection->Handle = mCurrentHiiHandle;
- CopyMem (&Selection->FormSetGuid, &mCurrentFormSetGuid, sizeof (EFI_GUID));
- Selection->FormId = mCurrentFormId;
+ Selection->FormId = Selection->Form->FormId;
Selection->QuestionId = 0;
- Selection->Action = UI_ACTION_REFRESH_FORM;
}
}