mirror of https://github.com/acidanthera/audk.git
Set the Reset flag if user select one statement which has reset attribute and not has storage.
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@15244 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e4c83a4f9c
commit
b1239a2491
|
@ -2593,6 +2593,16 @@ SetupBrowser (
|
|||
// 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,
|
||||
// trig the gResetFlag.
|
||||
//
|
||||
if ((Status == EFI_SUCCESS) &&
|
||||
(Statement->Storage == NULL) &&
|
||||
((Statement->QuestionFlags & EFI_IFR_FLAG_RESET_REQUIRED) != 0)) {
|
||||
gResetRequired = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue