summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmike <michael.blumenkrantz@gmail.com>2014-03-30 23:19:00 -0400
committerzmike <michael.blumenkrantz@gmail.com>2014-03-30 23:20:04 -0400
commitea8d9c7241ebfa4398eabe039ec2fb9fec2b1f8b (patch)
tree3db6bfb81936c2b00420722033e117efa4fc6a4e
parentb95a870dbf8c4806f529b6f0beb1a355a0b18950 (diff)
downloadelementary-1.10.0-tech-preview.tar.gz
genlist no longer randomly selects items (or scrolls to them after selecting)v1.10.0-tech-preview
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.
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 752aa750d..a872ed173 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;