From: Himanshu Date: Wed, 10 Jul 2013 08:49:16 +0000 (+0530) Subject: Fixed focus issue with HostKeyboard X-Git-Tag: submit/tizen_2.2/20130714.134410~2 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=29f4c447f2632320f9a7c375ace81195d4bf7d82 Fixed focus issue with HostKeyboard Change-Id: Ie6c2ad208fbdc79132eaaa232372a8e82d52b1f0 Signed-off-by: Himanshu --- 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);