From 2993130f810e05c4052dc9304acf5b2e74a83b69 Mon Sep 17 00:00:00 2001 From: Vinay Dutt Vyas Date: Thu, 26 Sep 2013 13:30:59 +0530 Subject: [PATCH] Fix for isRestoreFocus SideEffect Signed-off-by: Vinay Dutt Vyas Change-Id: I55bc2b8ffe4ea4e87c5d59e6d66cd5dd9f82e24f --- src/ui/controls/FUiCtrl_TableViewPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/controls/FUiCtrl_TableViewPresenter.cpp b/src/ui/controls/FUiCtrl_TableViewPresenter.cpp index 7b2f60c..2bdc216 100644 --- a/src/ui/controls/FUiCtrl_TableViewPresenter.cpp +++ b/src/ui/controls/FUiCtrl_TableViewPresenter.cpp @@ -653,7 +653,7 @@ _TableViewPresenter::RefreshAllItems(void) result _TableViewPresenter::UpdateTableView(bool isRestoreAnnexFocusValue) { - if (__pTableView->IsTableViewFocused() && __pTableView->IsFocusModeStateEnabled() + if (__focusItemTag.groupIndex != -1 && __pTableView->IsTableViewFocused() && __pTableView->IsFocusModeStateEnabled() && __pTableView->GetRootWindow() && __pTableView->GetRootWindow()->IsActivated()) { __isRestoreFocus = true; -- 2.7.4