Fixed focus issue with HostKeyboard
authorHimanshu <himanshu.t@samsung.com>
Wed, 10 Jul 2013 08:49:16 +0000 (14:19 +0530)
committerHimanshu <himanshu.t@samsung.com>
Wed, 10 Jul 2013 08:49:16 +0000 (14:19 +0530)
Change-Id: Ie6c2ad208fbdc79132eaaa232372a8e82d52b1f0
Signed-off-by: Himanshu <himanshu.t@samsung.com>
src/GlSettingMainForm.cpp

index d2ba1cd..65c7763 100644 (file)
@@ -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);