From 20c367daa79298f4a605c2a474e4dd37bc236f54 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Thu, 24 Oct 2013 11:48:29 -0500 Subject: [PATCH] Fix DateTimeComponent not consuming input when leaving edit mode. --- src/components/DateTimeComponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/DateTimeComponent.cpp b/src/components/DateTimeComponent.cpp index df31803fb..d501d666b 100644 --- a/src/components/DateTimeComponent.cpp +++ b/src/components/DateTimeComponent.cpp @@ -50,6 +50,7 @@ bool DateTimeComponent::input(InputConfig* config, Input input) mEditing = false; mTime = mTimeBeforeEdit; updateTextCache(); + return true; } int incDir = 0;