From: Shinwoo Kim Date: Mon, 18 Mar 2013 08:58:06 +0000 (+0900) Subject: [layout][access] access object on a layout could not be a child of X-Git-Tag: accepted/tizen/20130607.213307~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a10476acfa86272731a0ccb0bf858589ff18a42;p=profile%2Fmobile%2Felementary.git [layout][access] access object on a layout could not be a child of the layout eventhough it is a child actually, because the access object could not be swallowed Change-Id: Ie701418c31e049b6eaa673b0060acde693d66eaa --- diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index ddce6c3..84800ac 100644 --- a/src/lib/elm_layout.c +++ b/src/lib/elm_layout.c @@ -384,14 +384,14 @@ _elm_layout_smart_focus_next(const Evas_Object *obj, ELM_LAYOUT_DATA_GET(obj, sd); - if (!sd->subs) return EINA_FALSE; - if ((items = elm_widget_focus_custom_chain_get(obj))) list_data_get = eina_list_data_get; else { items = sd->subs; list_data_get = _elm_layout_list_data_get; + + if (!items) return EINA_FALSE; } return elm_widget_focus_list_next_get