mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-21 14:32:44 +08:00
fix(buttonmatrix): initialize auto_free_map in constructor (#7966)
This commit is contained in:
@@ -299,6 +299,7 @@ static void lv_buttonmatrix_constructor(const lv_obj_class_t * class_p, lv_obj_t
|
||||
btnm->ctrl_bits = NULL;
|
||||
btnm->map_p = NULL;
|
||||
btnm->one_check = 0;
|
||||
btnm->auto_free_map = 0;
|
||||
|
||||
#if LV_WIDGETS_HAS_DEFAULT_VALUE
|
||||
lv_buttonmatrix_set_map(obj, lv_buttonmatrix_def_map);
|
||||
|
||||
Reference in New Issue
Block a user