1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

group fix calling lv_obj_invalidate() when focuse is NULL (#1774)

This commit is contained in:
梁永祥 2020-09-08 21:56:51 +08:00 committed by GitHub
parent 50594851f6
commit c683a3612d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,9 +332,9 @@ void lv_group_set_editing(lv_group_t * group, bool edit)
focused->signal_cb(focused, LV_SIGNAL_FOCUS, NULL); /*Focus again to properly leave/open edit/navigate mode*/
lv_res_t res = lv_event_send(*group->obj_focus, LV_EVENT_FOCUSED, NULL);
if(res != LV_RES_OK) return;
}
lv_obj_invalidate(focused);
lv_obj_invalidate(focused);
}
}
/**