From: Michal Szczecinski Date: Mon, 4 Mar 2024 07:06:06 +0000 (+0100) Subject: elm_gengrid: added item check before highlight X-Git-Tag: accepted/tizen/unified/20240509.011213~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F310178%2F1;p=platform%2Fupstream%2Fefl.git elm_gengrid: added item check before highlight Change-Id: I3fb96169e2e6cb591c7b95105539d74f96631740 --- diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c index 3533e6e..dd926a0 100755 --- a/src/lib/elementary/elm_gengrid.c +++ b/src/lib/elementary/elm_gengrid.c @@ -1024,6 +1024,10 @@ static void _item_highlight(Elm_Gen_Item *it) { const char *selectraise = NULL; + //TIZEN_ONLY(23042024): check item before highlight + if (!it || !it->item) + return; + // ELM_GENGRID_DATA_GET_FROM_ITEM(it, sd); if (_is_no_select(it) ||