From 29f4c447f2632320f9a7c375ace81195d4bf7d82 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Wed, 10 Jul 2013 14:19:16 +0530 Subject: [PATCH] Fixed focus issue with HostKeyboard Change-Id: Ie6c2ad208fbdc79132eaaa232372a8e82d52b1f0 Signed-off-by: Himanshu --- src/GlSettingMainForm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GlSettingMainForm.cpp b/src/GlSettingMainForm.cpp index d2ba1cd..65c7763 100644 --- a/src/GlSettingMainForm.cpp +++ b/src/GlSettingMainForm.cpp @@ -547,12 +547,14 @@ SettingMainForm::CreateItem(int groupIndex, int itemIndex, int itemWidth) if (settingInfo[parentIndex].isOpen == false) { r = pItem->Construct(itemWidth, 0); + __pList->SetItemEnabled(groupIndex, itemIndex,false); AppLogDebug("construct with height 0 %s", GetErrorMessage(r)); return pItem; } else { pItem->Construct(itemWidth, itemHeight); + __pList->SetItemEnabled(groupIndex, itemIndex, true); } pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, ITEM_RADIO_ITEM_BACKGROUND_COLOR); -- 2.7.4