help: bug fix. entry scroller doesn't reset.

Test Plan:
1. enventor
2. press F1
3. select list item (shortcut keys)
4. scroll down
5. back
6. select list item (shortcut keys)
7. observe scroller's position

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4213
This commit is contained in:
Bowon Ryu 2016-08-04 17:35:20 +09:00 committed by Hermet Park
parent fb4c8b70a8
commit 4b693973b0
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ list_item_selected_cb(void *data, Evas_Object *obj, void *event_info)
layout = g_layout;
label = elm_object_part_content_get(layout, "swallow_label");
entry = elm_object_part_content_get(layout, "swallow_entry");
elm_scroller_region_show(entry, 0, 0, 0, 0);
elm_object_signal_emit(layout, "elm,state,content,show", "");
//Read each contents from files.