Update the logic, only check the value change status for user input action, not detect the change caused by Hii driver change through SetBrowserData function.
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@15229 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Private MACRO, structure and function definitions for Setup Browser module.
|
||||
|
||||
Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -712,6 +712,35 @@ IsQuestionValueChanged (
|
||||
IN GET_SET_QUESTION_VALUE_WITH GetValueFrom
|
||||
);
|
||||
|
||||
/**
|
||||
Validate the FormSet. If the formset is not validate, remove it from the list.
|
||||
|
||||
@param FormSet The input FormSet which need to validate.
|
||||
|
||||
@retval TRUE The handle is validate.
|
||||
@retval FALSE The handle is invalidate.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
ValidateFormSet (
|
||||
FORM_BROWSER_FORMSET *FormSet
|
||||
);
|
||||
|
||||
/**
|
||||
Update the ValueChanged status for questions.
|
||||
|
||||
@param FormSet FormSet data structure.
|
||||
@param Form Form data structure.
|
||||
@param SettingScope Setting Scope for Default action.
|
||||
|
||||
**/
|
||||
VOID
|
||||
UpdateStatementStatus (
|
||||
IN FORM_BROWSER_FORMSET *FormSet,
|
||||
IN FORM_BROWSER_FORM *Form,
|
||||
IN BROWSER_SETTING_SCOPE SettingScope
|
||||
);
|
||||
|
||||
/**
|
||||
Get Question's current Value.
|
||||
|
||||
|
Reference in New Issue
Block a user