Merge "Accessibility Manager public API UTC tests and coverage" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 3 Jul 2015 08:26:35 +0000 (01:26 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 3 Jul 2015 08:26:35 +0000 (01:26 -0700)
dali-toolkit/internal/text/text-controller.cpp

index c70fda0..3b9c725 100644 (file)
@@ -1159,10 +1159,11 @@ bool Controller::KeyEvent( const Dali::KeyEvent& keyEvent )
       mImpl->ChangeState( EventData::INTERRUPTED ); // State is not INACTIVE as expect to return to edit mode.
       // Avoids calling the InsertText() method which can delete selected text
     }
-    else if ( IsKey( keyEvent, Dali::DALI_KEY_MENU ) )
+    else if ( IsKey( keyEvent, Dali::DALI_KEY_MENU ) ||
+              IsKey( keyEvent, Dali::DALI_KEY_HOME ) )
     {
       mImpl->ChangeState( EventData::INACTIVE );
-      // Menu key behaviour does not allow edit to resume like Power key
+      // Menu/Home key behaviour does not allow edit mode to resume like Power key
       // Avoids calling the InsertText() method which can delete selected text
     }
     else