summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 0b6ea105a9..16e55ec6c9 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1587,6 +1587,8 @@ _efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
1587 1587
1588 if (is_widget) 1588 if (is_widget)
1589 { 1589 {
1590 if (efl_ui_widget_parent_get(sobj) != obj)
1591 return EINA_FALSE;
1590 if (_is_focused(sobj)) 1592 if (_is_focused(sobj))
1591 { 1593 {
1592 elm_widget_tree_unfocusable_set(sobj, EINA_TRUE); 1594 elm_widget_tree_unfocusable_set(sobj, EINA_TRUE);