]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Rollback change r19245 because it missed one change.
authorCecil Sheng <cecil.sheng@hpe.com>
Tue, 15 Dec 2015 05:49:14 +0000 (05:49 +0000)
committerydong10 <ydong10@Edk2>
Tue, 15 Dec 2015 05:49:14 +0000 (05:49 +0000)
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

MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c

index 7bf91df8573b5507143dec19938b91c18213d885..356cd9cd9ab630514c25772c4dd59ec7bdb959f1 100644 (file)
@@ -2,7 +2,6 @@
 Utility functions for UI presentation.\r
 \r
 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
-(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -2506,13 +2505,10 @@ SetupBrowser (
           //\r
           if (EFI_ERROR (Status)) {\r
             //\r
-            // Cross reference will not be taken, restore all essential field\r
+            // Cross reference will not be taken\r
             //\r
-            Selection->Handle = mCurrentHiiHandle;\r
-            CopyMem (&Selection->FormSetGuid, &mCurrentFormSetGuid, sizeof (EFI_GUID));\r
-            Selection->FormId = mCurrentFormId;\r
+            Selection->FormId = Selection->Form->FormId;\r
             Selection->QuestionId = 0;\r
-            Selection->Action = UI_ACTION_REFRESH_FORM;\r
           }\r
         }\r
 \r