rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6723c3b1c3cde31d4ce70606074cac5b91d8974b

commit 6723c3b1c3cde31d4ce70606074cac5b91d8974b
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Mar 17 08:59:26 2017 +0200

    gengrid: avoid call select callback twice in mode 
ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
    
    If multi select mode is ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL and
    user code try unselect a item and select another part which not
    realized select callback calls twice in this case. For avoid this no
    needs focus newly selected item.
    
    @fix
---
 src/lib/elementary/elm_gengrid.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 7bedd5d..6501025 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -4405,7 +4405,6 @@ _item_select(Elm_Gen_Item *it)
    it->walking++;
    sd->walking++;
 
-   elm_object_item_focus_set(eo_it, EINA_TRUE);
    sd->last_selected_item = eo_it;
 
    if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);

-- 


Reply via email to