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;