forked from enlightenment/efl
elementary/elm_widget : When elm_widget_sub_object_del is called with
focused sub-object, focus should be reverted back to the latest focused object. SVN revision: 65399
This commit is contained in:
parent
31d8a4817f
commit
d6be239f73
|
@ -994,7 +994,11 @@ elm_widget_sub_object_del(Evas_Object *obj,
|
|||
}
|
||||
else
|
||||
sd->subobjs = eina_list_remove(sd->subobjs, sobj);
|
||||
if (elm_widget_focus_get(sobj)) _unfocus_parents(obj);
|
||||
if (elm_widget_focus_get(sobj))
|
||||
{
|
||||
elm_widget_tree_unfocusable_set(sobj, EINA_TRUE);
|
||||
elm_widget_tree_unfocusable_set(sobj, EINA_FALSE);
|
||||
}
|
||||
if ((sd->child_can_focus) && (_is_focusable(sobj)))
|
||||
{
|
||||
Evas_Object *subobj;
|
||||
|
|
Loading…
Reference in New Issue