Enable number input for numeric, date and time opcode

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11208 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10
2010-12-30 07:26:56 +00:00
parent a06638eac2
commit e24adb18e3
3 changed files with 98 additions and 44 deletions

View File

@@ -2497,10 +2497,7 @@ UiDisplayMenu (
ASSERT(MenuOption != NULL);
Statement = MenuOption->ThisTag;
if ((Statement->Operand == EFI_IFR_TEXT_OP) ||
(Statement->Operand == EFI_IFR_DATE_OP) ||
(Statement->Operand == EFI_IFR_TIME_OP) ||
(Statement->Operand == EFI_IFR_NUMERIC_OP && Statement->Step != 0)) {
if (Statement->Operand == EFI_IFR_TEXT_OP) {
break;
}