From 0b3a14a3873625e0e1443d19caccf47fc3901174 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 30 Aug 2017 22:38:51 +0200 Subject: [PATCH] efl_ui_focus_manager_calc: only focus none NULL candidates --- src/lib/elementary/efl_ui_focus_manager_calc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index dbd64c5..232cc69 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c @@ -1309,7 +1309,8 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui { n = T(n).parent; new_candidate = _request_move(obj, pd, direction, n); - efl_ui_focus_manager_focus_set(obj, new_candidate); + if (new_candidate) + efl_ui_focus_manager_focus_set(obj, new_candidate); candidate = new_candidate; } } -- 2.7.4