From: Victor Cebollada Date: Wed, 16 Sep 2015 14:50:23 +0000 (+0100) Subject: Fix for long press. X-Git-Tag: dali_1.1.3~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=43002bb0480802c35ed888f80cafb95f0071580c Fix for long press. * If in pre-edit mode, the imf manager needs to be reset to commit the text. Change-Id: Id012e471b9750d67430c99b93bff641ca8f47590 Signed-off-by: Victor Cebollada --- diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index 83c81a3..f9979df 100644 --- a/dali-toolkit/internal/text/text-controller.cpp +++ b/dali-toolkit/internal/text/text-controller.cpp @@ -1611,6 +1611,9 @@ void Controller::LongPressEvent( Gesture::State state, float x, float y ) } else { + // Reset the imf manger to commit the pre-edit before selecting the text. + mImpl->ResetImfManager(); + SelectEvent( x, y, false ); } }