X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FGlSettingMainForm.cpp;h=65c776316a6a099bb5bb7426666009b6e8c80b37;hb=29f4c447f2632320f9a7c375ace81195d4bf7d82;hp=d2ba1cd28ca40d4be2a3fd6d58479d9ec9c2202d;hpb=e58206470df3d68539a867a0aea5f9ac87794452;p=apps%2Fosp%2FGallery.git 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);