X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.cpp;h=3b9c7256a27cf588bdb662d972e0191b0edca916;hp=c70fda07616c21da8fec0c9aad3f2323b28a4fcb;hb=d976cceb71a40a46ad82de288aebe8acef4379fe;hpb=8cb7d1587a132f32f869eb1f8f8712d390cecc50 diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index c70fda0..3b9c725 100644 --- a/dali-toolkit/internal/text/text-controller.cpp +++ b/dali-toolkit/internal/text/text-controller.cpp @@ -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