From 6541ede9bf084ef75135f86b59cd462c35388f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Thu, 9 Nov 2023 12:32:49 +0100 Subject: [PATCH] SetupBrowserDxe/Setup.c: set browser action scope to system level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set the browser action scope to system level to make the F9 (Reset to defaults) hotkey work globally. TEST=Boot on NovaCustom NV4x TGL, change some options in Dasharo System Features and Boot Maintenance Manager, then go to the User Password Management form and press F9 to reset to defaults. Verify that changes in Dasharo System Features and Boot Maintenance Manager are reverted. Signed-off-by: Michał Kopeć --- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index 2f7b11b1aa..0dcfa0a7dc 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -53,7 +53,7 @@ BOOLEAN gResetRequiredSystemLevel = FALSE; BOOLEAN gExitRequired; BOOLEAN gFlagReconnect; BOOLEAN gCallbackReconnect; -BROWSER_SETTING_SCOPE gBrowserSettingScope = FormSetLevel; +BROWSER_SETTING_SCOPE gBrowserSettingScope = SystemLevel; BOOLEAN mBrowserScopeFirstSet = TRUE; EXIT_HANDLER ExitHandlerFunction = NULL; FORM_BROWSER_FORMSET *mSystemLevelFormSet;