Fix for N_SE-44203
authorAyush <ayush.sriv@samsung.com>
Mon, 1 Jul 2013 12:24:22 +0000 (17:54 +0530)
committerAyush <ayush.sriv@samsung.com>
Mon, 1 Jul 2013 12:24:22 +0000 (17:54 +0530)
Change-Id: Ia7eaf8ec293a531918e759a8394702e0731a2ef0
Signed-off-by: Ayush <ayush.sriv@samsung.com>
src/ui/controls/FUiCtrl_IconListPresenter.cpp

index 4960896..afba81d 100644 (file)
@@ -5135,6 +5135,8 @@ _IconListPresenter::SetFocusUiIndexVerticalScrollList(const _KeyInfo& keyInfo)
                if (((keyInfo.GetKeyCode() ==  _KEY_UP) && (__highlightedIndex >= 0 && __highlightedIndex <= GetItemCountPerAxis() - 1)) ||
                        ((keyInfo.GetKeyCode() ==  _KEY_DOWN) && (__highlightedIndex <= lastItemIndex && __highlightedIndex >= lastLineTopIndex)))
                {
+                       RedrawItem(__highlightedIndex);
+                       __highlightedIndex = INVALID_INDEX;
                        return false;
                }
                else if ((keyInfo.GetKeyCode() ==  _KEY_LEFT && __highlightedIndex == 0) || (keyInfo.GetKeyCode() ==  _KEY_RIGHT && __highlightedIndex == lastItemIndex))