MdeModulePkg/BootMaintenanceManagerUiLib: Make it look like current BMM
This commit is contained in:
@@ -1130,7 +1130,9 @@ BootMaintCallback (
|
||||
// 1. Update the menus (including legacy munu) show in BootMiantenanceManager page.
|
||||
// 2. Re-scan the BootOption menus (including the legacy boot option).
|
||||
//
|
||||
CustomizeMenus ();
|
||||
//CustomizeMenus ();
|
||||
UpdatePageId (Private, FORM_BOOT_CHG_ID);
|
||||
UpdatePageBody (FORM_BOOT_CHG_ID, Private);
|
||||
EfiBootManagerRefreshAllBootOption ();
|
||||
BOpt_GetBootOptions (Private);
|
||||
mFirstEnterBMMForm = TRUE;
|
||||
@@ -1740,8 +1742,8 @@ BootMaintenanceManagerUiLibConstructor (
|
||||
|
||||
mBmmCallbackInfo->MenuEntry = (BM_MENU_ENTRY *)Ptr;
|
||||
|
||||
mBmmCallbackInfo->BmmPreviousPageId = FORM_MAIN_ID;
|
||||
mBmmCallbackInfo->BmmCurrentPageId = FORM_MAIN_ID;
|
||||
mBmmCallbackInfo->BmmPreviousPageId = FORM_BOOT_CHG_ID;
|
||||
mBmmCallbackInfo->BmmCurrentPageId = FORM_BOOT_CHG_ID;
|
||||
|
||||
InitAllMenu (mBmmCallbackInfo);
|
||||
|
||||
|
Reference in New Issue
Block a user