group fix calling lv_obj_invalidate() when focuse is NULL
@@ -332,10 +332,10 @@ 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);
}
+}
/**
* Set the `click_focus` attribute. If enabled then the object will be focused then it is clicked.
