genlist: reset show item if current show item need to be hidden 16/93416/1
authorSangHyeon Lee <sh10233.lee@samsung.com>
Mon, 24 Oct 2016 07:50:49 +0000 (16:50 +0900)
committerSangHyeon Lee <sh10233.lee@samsung.com>
Mon, 24 Oct 2016 07:51:02 +0000 (16:51 +0900)
Change-Id: I4e9e743e42c63a7f14116de939a8e57e57115a72

src/mobile_lib/elm_genlist.c

index b424042..ea09100 100644 (file)
@@ -7312,6 +7312,7 @@ _filter_item_internal(Elm_Gen_Item *it)
                 WIDGET(it), sd->filter_data))
           {
              it->want_hidden = EINA_TRUE;
+             if (sd->show_item == it) sd->show_item = NULL;
              GL_IT(it)->block->calc_done = EINA_FALSE;
              sd->calc_done = EINA_FALSE;
           }