mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Update the ValueChanged flag before call CHANGED callback type.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15246 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
da5ae569b9
commit
a6c0ad816a
@ -2582,18 +2582,22 @@ SetupBrowser (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Verify whether question value has checked, update the ValueChanged flag in Question.
|
||||||
|
//
|
||||||
|
IsQuestionValueChanged(gCurrentSelection->FormSet, gCurrentSelection->Form, Statement, GetSetValueWithBuffer);
|
||||||
|
|
||||||
if (!EFI_ERROR (Status) && Statement->Operand != EFI_IFR_REF_OP) {
|
if (!EFI_ERROR (Status) && Statement->Operand != EFI_IFR_REF_OP) {
|
||||||
ProcessCallBackFunction(Selection, Selection->FormSet, Selection->Form, Statement, EFI_BROWSER_ACTION_CHANGED, FALSE);
|
ProcessCallBackFunction(Selection, Selection->FormSet, Selection->Form, Statement, EFI_BROWSER_ACTION_CHANGED, FALSE);
|
||||||
}
|
}
|
||||||
} else if (Statement->Operand != EFI_IFR_PASSWORD_OP) {
|
} else if (Statement->Operand != EFI_IFR_PASSWORD_OP) {
|
||||||
SetQuestionValue (gCurrentSelection->FormSet, gCurrentSelection->Form, Statement, GetSetValueWithEditBuffer);
|
SetQuestionValue (gCurrentSelection->FormSet, gCurrentSelection->Form, Statement, GetSetValueWithEditBuffer);
|
||||||
|
//
|
||||||
|
// Verify whether question value has checked, update the ValueChanged flag in Question.
|
||||||
|
//
|
||||||
|
IsQuestionValueChanged(gCurrentSelection->FormSet, gCurrentSelection->Form, Statement, GetSetValueWithBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Verify whether question value has checked, update the ValueChanged flag in Question.
|
|
||||||
//
|
|
||||||
IsQuestionValueChanged(gCurrentSelection->FormSet, gCurrentSelection->Form, Statement, GetSetValueWithBuffer);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// If question has EFI_IFR_FLAG_RESET_REQUIRED flag and without storage and process question success till here,
|
// If question has EFI_IFR_FLAG_RESET_REQUIRED flag and without storage and process question success till here,
|
||||||
// trig the gResetFlag.
|
// trig the gResetFlag.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user