diff options
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 6 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c index f8b1d5067e..788a63f4e4 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c @@ -1263,15 +1263,15 @@ ProcessChangedData ( RetValue = TRUE;
switch (mFormDisplay->ConfirmDataChange()) {
- case BROWSER_ACTION_DISCARD:
+ case BROWSER_DISCARD_CHANGES:
DiscardForm (Selection->FormSet, Selection->Form, Scope);
break;
- case BROWSER_ACTION_SUBMIT:
+ case BROWSER_SAVE_CHANGES:
SubmitForm (Selection->FormSet, Selection->Form, Scope);
break;
- case BROWSER_ACTION_NONE:
+ case BROWSER_NO_CHANGES:
RetValue = FALSE;
break;
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index c7c7f9ae43..3671c0ed1c 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -5062,6 +5062,8 @@ SaveReminder ( } else if (DataSavedAction == BROWSER_DISCARD_CHANGES) {
DiscardForm (NULL, NULL, SystemLevel);
break;
+ } else if (DataSavedAction == BROWSER_NO_CHANGES) {
+ break;
}
} while (1);
|