Fiz for issue N_SE-45057
authorKunal Sinha <kunal.sinha@samsung.com>
Mon, 8 Jul 2013 12:07:32 +0000 (17:37 +0530)
committerKunal Sinha <kunal.sinha@samsung.com>
Mon, 8 Jul 2013 12:07:32 +0000 (17:37 +0530)
Change-Id: I633235ea21d148063f12623f7dd2931cb0420237
Signed-off-by: Kunal Sinha <kunal.sinha@samsung.com>
src/ui/controls/FUiCtrl_TokenEditPresenter.cpp

index 63adbc8..441e3fc 100644 (file)
@@ -2805,9 +2805,6 @@ _TokenEditPresenter::OnFocusLost(void)
        result r = E_SUCCESS;
        __isFocus = false;
 
-       //Remove pressed state on focus lost
-       __pressedTokenIndex = -1;
-
        _EditPresenter::StopTitleSlidingTimer();
        __isTitleSliding = false;
 
@@ -2829,6 +2826,9 @@ _TokenEditPresenter::OnFocusLost(void)
        }
        else
        {
+               //Remove pressed state on focus lost
+               __pressedTokenIndex = -1;
+
                if (GetText().GetLength() > 0)
                {
                        OnTextCommitted(L"\n");