From: minho.sun Date: Fri, 8 Dec 2017 05:31:34 +0000 (+0900) Subject: [4.0] Ignore DALI_KEY_SOURCE in text controller X-Git-Tag: accepted/tizen/4.0/unified/20171212.064847~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2f47993a84ad4acca46569e5115f71fb7ba8f03;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [4.0] Ignore DALI_KEY_SOURCE in text controller Ignore DALI_KEY_SOURCE in text controller. Change-Id: I789ccd5f7cc54c33c24e24ffca551543ee7e8bb8 Signed-off-by: minho.sun --- diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index 5637d0e..4d49b38 100755 --- a/dali-toolkit/internal/text/text-controller.cpp +++ b/dali-toolkit/internal/text/text-controller.cpp @@ -2443,7 +2443,8 @@ bool Controller::KeyEvent( const Dali::KeyEvent& keyEvent ) relayoutNeeded = true; } else if( IsKey( keyEvent, Dali::DALI_KEY_POWER ) || - IsKey( keyEvent, Dali::DALI_KEY_MENU ) || + IsKey( keyEvent, Dali::DALI_KEY_MENU ) || + IsKey( keyEvent, static_cast(Dali::DevelKey::DALI_KEY_SOURCE) ) || IsKey( keyEvent, Dali::DALI_KEY_HOME ) ) { // Power key/Menu/Home key behaviour does not allow edit mode to resume.