From: Saravana Balaji Date: Tue, 16 Apr 2013 05:47:20 +0000 (+0530) Subject: Block Copy paste in Token editing mode X-Git-Tag: accepted/tizen_2.1/20130425.033138~182^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56c3ee2805a2b59f83c4768c9feadf3cc3068fb3;p=platform%2Fframework%2Fnative%2Fuifw.git Block Copy paste in Token editing mode Change-Id: I0acaca695a48aef4a1a396928cc3c3bd7667a195 Signed-off-by: Saravana Balaji --- diff --git a/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp b/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp index 3cb96c4..212ae66 100755 --- a/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp +++ b/src/ui/controls/FUiCtrl_TokenEditPresenter.cpp @@ -3300,10 +3300,10 @@ _TokenEditPresenter::OnTapGestureDetected(void) } //Uncomment below to Block Copy & Paste functionality in Token Edit mode - //if (__pressedTokenIndex != -1) - //{ - // return true; - //} + if (__pressedTokenIndex != -1) + { + return true; + } return _EditPresenter::OnTapGestureDetected(); } @@ -3336,10 +3336,10 @@ _TokenEditPresenter::OnLongPressGestureDetected(void) __isLongPressed = true; //Uncomment below to Block Copy & Paste functionality in Token Edit mode - //if (__pressedTokenIndex != -1) - //{ - // return true; - //} + if (__pressedTokenIndex != -1) + { + return true; + } return _EditPresenter::OnLongPressGestureDetected(); }