gengrid: ignore key events if item reorder is going on.

Summary: This was missed in 43eb52e159.

Test Plan:
elementary_test->"Gengrid Focus" and enable "reorder mode" by clicking "redorder mode enable" checkbox.
Move the items by direction keys.

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D801
This commit is contained in:
Amitesh Singh 2014-04-27 03:17:01 +09:00 committed by Daniel Juyung Seo
parent 571b60e298
commit 112d481dca
1 changed files with 2 additions and 0 deletions

View File

@ -2174,6 +2174,8 @@ _key_action_move(Evas_Object *obj, const char *params)
elm_interface_scrollable_content_viewport_geometry_get
(NULL, NULL, &v_w, &v_h));
if (sd->reorder_mode && sd->reorder.running) return EINA_TRUE;
if (!strcmp(dir, "left"))
{
if (sd->reorder_mode)