SetupBrowserDxe/Setup.c: set browser action scope to system level

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ć <michal.kopec@3mdeb.com>
This commit is contained in:
Michał Kopeć
2023-11-09 12:32:49 +01:00
committed by Sergii Dmytruk
parent 6d7e7787bd
commit 6541ede9bf
@@ -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;