summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-25 15:02:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-03-25 15:02:13 +0900
commitac180368becb112c249c19fd326ce43c5fbe0c56 (patch)
tree9bc204d8605296d51fdc9eb37e6f322f88382b49
parente2c880006bf0569634760a70462a5f3bcb728efc (diff)
fix segv in toolbar item focus (new feature)
-rw-r--r--src/lib/elm_toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index adf17e107..cb57594a6 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -721,7 +721,7 @@ _elm_toolbar_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
721 if (it) 721 if (it)
722 { 722 {
723 it = _elm_toolbar_nearest_visible_item_get(obj, it); 723 it = _elm_toolbar_nearest_visible_item_get(obj, it);
724 _elm_toolbar_item_focused((Elm_Toolbar_Item *)it); 724 if (it) _elm_toolbar_item_focused((Elm_Toolbar_Item *)it);
725 } 725 }
726 evas_object_focus_set(wd->resize_obj, EINA_TRUE); 726 evas_object_focus_set(wd->resize_obj, EINA_TRUE);
727 } 727 }