From d2b0fec88b908f4d86fe6400da68647a904f8e90 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Thu, 5 Mar 2015 17:49:26 -0600 Subject: [PATCH] Catch pageup/pagedown in DateTimeComponent edit mode. --- es-core/src/components/DateTimeComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/components/DateTimeComponent.cpp b/es-core/src/components/DateTimeComponent.cpp index ca12aef17..681927b35 100644 --- a/es-core/src/components/DateTimeComponent.cpp +++ b/es-core/src/components/DateTimeComponent.cpp @@ -54,9 +54,9 @@ bool DateTimeComponent::input(InputConfig* config, Input input) } int incDir = 0; - if(config->isMappedTo("up", input)) + if(config->isMappedTo("up", input) || config->isMappedTo("pageup", input)) incDir = 1; - else if(config->isMappedTo("down", input)) + else if(config->isMappedTo("down", input) || config->isMappedTo("pagedown", input)) incDir = -1; if(incDir != 0)