ryuan pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=1c1f95454c878332cc6aa61b43274f747ad22ae2
commit 1c1f95454c878332cc6aa61b43274f747ad22ae2 Author: Ryuan Choi <[email protected]> Date: Thu Jan 16 04:10:38 2014 +0900 panel: Check whether sd->content is NULL in _panel_toggle sd->content can be NULL when elm_panel_hidden_set is called. --- src/lib/elm_panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c index e856a94..4e43b7d 100644 --- a/src/lib/elm_panel.c +++ b/src/lib/elm_panel.c @@ -237,7 +237,7 @@ _panel_toggle(void *data EINA_UNUSED, elm_layout_signal_emit(obj, "elm,action,hide", "elm"); sd->hidden = EINA_TRUE; evas_object_repeat_events_set(obj, EINA_TRUE); - if (elm_widget_focus_get(sd->content)) + if (sd->content && elm_widget_focus_get(sd->content)) { elm_widget_focused_object_clear(obj); elm_widget_focus_steal(obj); --
