summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2018-06-05 10:16:27 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2018-06-05 10:25:12 +0300
commitb062fae36de14f20e5f64adeb3be80031f61a249 (patch)
tree030cf9efb5943e06173a9d85c3d91e14b08291e1
parent07c627a9775e01969f2fec32af2ed147140ee554 (diff)
downloadefl-b062fae36de14f20e5f64adeb3be80031f61a249.tar.gz
Test/Genlist: set back selection to item in show/bring test
For some unknown reason, the selected_set has been removed from the test. Since no response has been given in D5499, I assume it has been removed by mistake so I put it back.
-rw-r--r--src/bin/elementary/test_genlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/elementary/test_genlist.c b/src/bin/elementary/test_genlist.c
index 66d0ffb835..b4168fd830 100644
--- a/src/bin/elementary/test_genlist.c
+++ b/src/bin/elementary/test_genlist.c
@@ -5470,6 +5470,7 @@ test_genlist_show_bring(void *data EINA_UNUSED,
elm_genlist_item_class_free(api->itc1);
gli = elm_genlist_nth_item_get(gl, 1340);
+ elm_genlist_item_selected_set(gli, EINA_TRUE);
elm_genlist_item_show(gli, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
evas_object_resize(win, 480, 400);