From: Kunal Sinha Date: Wed, 12 Jun 2013 10:39:30 +0000 (+0530) Subject: Enter key shouldn't enable cursor when token is focused X-Git-Tag: accepted/tizen/20130924.144426~1^2~557^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5304a793ea9f9efbc054ead43019acb2e11749f2;p=platform%2Fframework%2Fnative%2Fuifw.git Enter key shouldn't enable cursor when token is focused Change-Id: I081eab52f41dc182e7a94daac984a5e200bfe8ad Signed-off-by: Kunal Sinha --- diff --git a/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp b/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp index 9a039c2..46383ed 100644 --- a/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp +++ b/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp @@ -3037,7 +3037,7 @@ _TokenEditPresenter::OnTextCommitted(const String& commitText) InitializeTokenVisibilityAt(i); } - if (__pressedTokenIndex < 0) + if (__pressedTokenIndex < 0 && __focusedTokenIndex < 0) { SetCursorDisabled(true); __pTokenEdit->Draw();