mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
lv_table: fix crash on copy in lv_table_create
This commit is contained in:
parent
ffd4708ac3
commit
eefd9c4e0d
@ -106,8 +106,8 @@ lv_obj_t * lv_table_create(lv_obj_t * par, const lv_obj_t * copy)
|
||||
ext->cell_style[1] = copy_ext->cell_style[1];
|
||||
ext->cell_style[2] = copy_ext->cell_style[2];
|
||||
ext->cell_style[3] = copy_ext->cell_style[3];
|
||||
ext->col_cnt = copy_ext->col_cnt;
|
||||
ext->row_cnt = copy_ext->row_cnt;
|
||||
lv_table_set_row_cnt(new_table, copy_ext->row_cnt);
|
||||
lv_table_set_col_cnt(new_table, copy_ext->col_cnt);
|
||||
|
||||
/*Refresh the style with new signal function*/
|
||||
lv_obj_refresh_style(new_table);
|
||||
|
Loading…
x
Reference in New Issue
Block a user