]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Browser: Fix conflicting policy in getting default of checkbox
authorLiming Gao <liming.gao@intel.com>
Thu, 18 Aug 2016 11:51:21 +0000 (19:51 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 23 Aug 2016 06:07:19 +0000 (14:07 +0800)
commit93e59f76fe502100a66e971acfbc1c58c63f564d
treeb5c212fc2b0c0d0a0c05ecf96159545a0b2f90e6
parent5c66efd0ed8c994a13228096bf2e281c0b980b8d
MdeModulePkg/Browser: Fix conflicting policy in getting default of checkbox

We have added a new policy to get default value for question:
get default from other default id if current default is not specified.
But when getting default value for checkbox, if the default
flag is not set, it will set the default value to FALSE for checkbox.
This behavior in checkbox conflicts with the new added policy,
so now we move this behavior to the end of getting default form other
default id.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c