summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-08-28 10:34:52 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-08-28 17:42:03 +0530
commit8a54819e27dbad9bc9c0e2ed3d2d971acd557982 (patch)
tree15b832f427087fd6be9183f20d72fa6c74b035b7
parent4da16f3d5ddc941cc5308e16a3d4eb0498add1b2 (diff)
gengrid: fix item looping in case of horizontal mode
This mistake is done in a8afaebf3109f1cb8e397e29
-rw-r--r--src/lib/elm_gengrid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 7414ca9ac..4b98b537b 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -3075,7 +3075,10 @@ _key_action_move(Evas_Object *obj, const char *params)
3075 if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_LEFT)) 3075 if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_LEFT))
3076 { 3076 {
3077 if (sd->item_loop_enable) 3077 if (sd->item_loop_enable)
3078 return EINA_TRUE; 3078 {
3079 if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
3080 return EINA_TRUE;
3081 }
3079 return EINA_FALSE; 3082 return EINA_FALSE;
3080 } 3083 }
3081 if (!_elm_config->item_select_on_focus_disable) 3084 if (!_elm_config->item_select_on_focus_disable)