discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=ea8d9c7241ebfa4398eabe039ec2fb9fec2b1f8b

commit ea8d9c7241ebfa4398eabe039ec2fb9fec2b1f8b
Author: zmike <[email protected]>
Date:   Sun Mar 30 23:19:00 2014 -0400

    genlist no longer randomly selects items (or scrolls to them after 
selecting)
    
    this item focus thing is a giant bug nightmare and needed to be 
developed/tested much more thoroughly in a branch before being committed to 
master.
---
 src/lib/elm_genlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 752aa75..a872ed1 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -2919,7 +2919,7 @@ _elm_genlist_smart_on_focus(Eo *obj, void *_pd 
EINA_UNUSED, va_list *list)
           it = sd->last_focused_item;
         else if (sd->last_selected_item)
           it = sd->last_selected_item;
-        else
+        else if (sd->selected)
           {
              it = elm_genlist_first_item_get(obj);
              is_sel = EINA_TRUE;

-- 


Reply via email to