From 17be0af46baaf1caec1b75df9d9d0fdda21c1eb9 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 6 Dec 2019 13:43:38 +0100 Subject: [PATCH] tileview fix assert in signal_cb --- src/lv_objx/lv_tileview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_objx/lv_tileview.c b/src/lv_objx/lv_tileview.c index a843b6b6346c..184bcbd58977 100644 --- a/src/lv_objx/lv_tileview.c +++ b/src/lv_objx/lv_tileview.c @@ -358,6 +358,7 @@ static lv_res_t lv_tileview_scrl_signal(lv_obj_t * scrl, lv_signal_t sign, void /* Include the ancient signal function */ res = ancestor_scrl_signal(scrl, sign, param); if(res != LV_RES_OK) return res; + if(sign == LV_SIGNAL_GET_TYPE) return lv_obj_handle_get_type_signal(param, ""); lv_obj_t * tileview = lv_obj_get_parent(scrl); const lv_style_t * style_bg = lv_tileview_get_style(tileview, LV_TILEVIEW_STYLE_MAIN);