In SetPrimaryCursorPosition(),
case of (mPrimaryCursorPosition == index), nothing happens.
But if selection is activated, this should be cancelled.
This patch adds a condition to ensure behaviour in selection case.
Change-Id: I5a6b2d44948f42850ee001432c6fc85fb8eab274
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
- if(mEventData->mPrimaryCursorPosition == index)
+ if(mEventData->mPrimaryCursorPosition == index && mEventData->mState != EventData::SELECTING)
{
// Nothing for same cursor position.
return false;
{
// Nothing for same cursor position.
return false;