rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=96558f63e4d149aeb6f8a370598fca09d512a62a

commit 96558f63e4d149aeb6f8a370598fca09d512a62a
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Mon Feb 8 14:43:09 2016 +0200

    history_ui: fix wrong item states when change is made while history is open
---
 src/bin/ui/history_ui.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/ui/history_ui.c b/src/bin/ui/history_ui.c
index ff04b81..b0f8509 100644
--- a/src/bin/ui/history_ui.c
+++ b/src/bin/ui/history_ui.c
@@ -139,6 +139,8 @@ _on_change_added(void *data __UNUSED__, Evas_Object *obj 
__UNUSED__, void *ei)
                                   _item_selected,
                                   NULL);
 
+   /* unselect active item */
+   elm_genlist_item_fields_update(hd.active_item, "unselected", 
ELM_GENLIST_ITEM_FIELD_STATE);
    /* making item active before selection allows to skip callback */
    hd.active_item = glit;
    elm_genlist_item_selected_set(glit, true);

-- 


Reply via email to