summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-01-16 23:12:04 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-01-16 23:22:01 +0100
commit5b64079ee9db4accfaed82e0da64106a6d99468a (patch)
tree7146f51c15dc14453d05fb47b7da9da456838395
parent210db8fc5d26e1d8fc772f533fedadbf37fa255b (diff)
efl_ui_focus_manager: fix infinit loop in enlightenment wizard
we unsetted and setted focus_manager once too often, so we ended up in a infinite loop. This should be fixed now. Sorry Derek!
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 7fa873ab70..ed93f90bcb 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1552,7 +1552,8 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_manager_focus_set(Eo *obj, Efl_U
1552 pd->focus_stack = eina_list_remove(pd->focus_stack, node); 1552 pd->focus_stack = eina_list_remove(pd->focus_stack, node);
1553 pd->focus_stack = eina_list_append(pd->focus_stack, node); 1553 pd->focus_stack = eina_list_append(pd->focus_stack, node);
1554 1554
1555 if (pd->redirect) 1555 //unset redirect manager for the case that its a different one to the one we want
1556 if (pd->redirect && pd->redirect != redirect_manager)
1556 { 1557 {
1557 Efl_Ui_Focus_Manager *m = obj; 1558 Efl_Ui_Focus_Manager *m = obj;
1558 1559