When do discard action, enable callback action for questions which have value changed.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1287,7 +1287,7 @@ ProcessCallBackFunction (
|
||||
// "retrieve" should update to the question's temp buffer.
|
||||
//
|
||||
if (Action == EFI_BROWSER_ACTION_CHANGING || Action == EFI_BROWSER_ACTION_RETRIEVE) {
|
||||
SetQuestionValue(Selection->FormSet, Selection->Form, Statement, TRUE);
|
||||
SetQuestionValue(Selection->FormSet, Selection->Form, Statement, GetSetValueWithEditBuffer);
|
||||
}
|
||||
} else {
|
||||
//
|
||||
@@ -1295,7 +1295,7 @@ ProcessCallBackFunction (
|
||||
// "retrieve", should restore the question's value.
|
||||
//
|
||||
if (Action == EFI_BROWSER_ACTION_CHANGING || Action == EFI_BROWSER_ACTION_RETRIEVE) {
|
||||
GetQuestionValue(Selection->FormSet, Selection->Form, Statement, TRUE);
|
||||
GetQuestionValue(Selection->FormSet, Selection->Form, Statement, GetSetValueWithEditBuffer);
|
||||
}
|
||||
|
||||
if (Status == EFI_UNSUPPORTED) {
|
||||
|
Reference in New Issue
Block a user