Skip to content

Commit

Permalink
tileview fix assert in signal_cb
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Dec 6, 2019
1 parent f34598d commit 17be0af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lv_objx/lv_tileview.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 17be0af

Please sign in to comment.