genlist: enable disabled content when content reused 43/108443/2
authorSangHyeon Lee <sh10233.lee@samsung.com>
Tue, 3 Jan 2017 10:03:08 +0000 (19:03 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 4 Jan 2017 09:57:37 +0000 (01:57 -0800)
Change-Id: I6696419a65918a5486165bc0d25ba01eec97e346
(cherry picked from commit 6c0833a341216d26cf410560c9fc8dc70f1a2aba)

src/mobile_lib/elm_genlist.c

index 8a0f6f0..552dfc1 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