mirror of https://github.com/acidanthera/audk.git
Restore the question value before call the 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@15633 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0cecbe565a
commit
737adca337
|
@ -2262,6 +2262,11 @@ SendDiscardInfoToDriver (
|
|||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
// Restore the question value before call the CHANGED callback type.
|
||||
//
|
||||
GetQuestionValue (FormSet, Form, Question, GetSetValueWithEditBuffer);
|
||||
|
||||
if (Question->HiiValue.Type == EFI_IFR_TYPE_BUFFER) {
|
||||
TypeValue = (EFI_IFR_TYPE_VALUE *) Question->BufferValue;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue