genlist: enable disabled content when content reused 05/108205/3
authorSangHyeon Lee <sh10233.lee@samsung.com>
Tue, 3 Jan 2017 10:03:08 +0000 (19:03 +0900)
committerSangHyeon Lee <sh10233.lee@samsung.com>
Wed, 4 Jan 2017 05:52:17 +0000 (21:52 -0800)
Change-Id: I6696419a65918a5486165bc0d25ba01eec97e346

src/mobile_lib/elm_genlist.c

index 8a0f6f01a0651a74d35bc55625f825a273a3dc5f..552dfc1c236f1a85b3c959dc54665376cc9ea9a2 100644 (file)
@@ -1328,6 +1328,9 @@ _item_unrealize(Elm_Gen_Item *it,
                   elm_object_focus_set(content, EINA_FALSE);
                   GL_IT(it)->wsd->focused_content = NULL;
                }
+             if (elm_widget_disabled_get(content))
+               elm_widget_disabled_set(content, EINA_FALSE);
+
              cache = eina_list_append(cache, content);
           }
         else