mirror of https://github.com/acidanthera/audk.git
Enable EFI_BROWSER_ACTION_CHANGED callback type for browser.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12826 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e69ccf580e
commit
b7891584a5
|
@ -1534,7 +1534,6 @@ SetupBrowser (
|
|||
if ((ConfigAccess != NULL) &&
|
||||
((Statement->QuestionFlags & EFI_IFR_FLAG_CALLBACK) == EFI_IFR_FLAG_CALLBACK) &&
|
||||
(Statement->Operand != EFI_IFR_PASSWORD_OP)) {
|
||||
|
||||
Status = ProcessCallBackFunction(Selection, Statement, EFI_BROWSER_ACTION_CHANGING, FALSE);
|
||||
if (Statement->Operand == EFI_IFR_REF_OP && Selection->Action != UI_ACTION_EXIT) {
|
||||
//
|
||||
|
@ -1555,6 +1554,10 @@ SetupBrowser (
|
|||
Selection->QuestionId = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ((Status == EFI_SUCCESS) && (Statement->Operand != EFI_IFR_REF_OP)) {
|
||||
ProcessCallBackFunction(Selection, Statement, EFI_BROWSER_ACTION_CHANGED, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue