summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-30 07:26:56 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-30 07:26:56 +0000
commite24adb18e330ff25dd35a278f0f8593378e14668 (patch)
tree20ee884730b592d91d9310c81fb364619f4e7a1e /MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
parenta06638eac2b71661d9d0d15d295cbba6da710b07 (diff)
downloadedk2-platforms-e24adb18e330ff25dd35a278f0f8593378e14668.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Ui.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
index 36ae3db0da..736d9e822a 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -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;
}