[4.0] propagate unhandled key( DALI_KEY_SEARCH ) 23/156623/1
authorminho.sun <minho.sun@samsung.com>
Thu, 19 Oct 2017 07:23:23 +0000 (16:23 +0900)
committerminho.sun <minho.sun@samsung.com>
Thu, 19 Oct 2017 07:23:23 +0000 (16:23 +0900)
DALI_KEY_SEARCH is not handled in TextEditor/TextField.
Return false(say unconsumed) when this key is comming.

Change-Id: Id52cc8b67150d63d0f22b7e51fb81e6750c353d5
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali-toolkit/internal/text/text-controller.cpp

index ae749e6..6d18a3a 100755 (executable)
@@ -2315,7 +2315,7 @@ bool Controller::KeyEvent( const Dali::KeyEvent& keyEvent )
       // Do nothing.
       return false;
     }
-    else if( Dali::DALI_KEY_ESCAPE == keyCode || Dali::DALI_KEY_BACK == keyCode )
+    else if( Dali::DALI_KEY_ESCAPE == keyCode || Dali::DALI_KEY_BACK == keyCode  || Dali::DALI_KEY_SEARCH == keyCode )
     {
       // Do nothing
       return false;