remove verbose log

This commit is contained in:
lixianjing 2024-11-08 11:27:06 +08:00
parent 6decfd6e7d
commit 7ef0b6de57
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2024/11/08
* 去除克隆combo_box时不必要的打印信息(感谢雨欣提供补丁)
2024/11/07
* 修复locale_infos_unref接口释放info对象无法清除assets_manager上的野指针导致崩溃的问题(感谢雨欣提供补丁)
* 完善object_hash(感谢兆坤提供补丁)

View File

@ -914,7 +914,9 @@ ret_t combo_box_set_theme_of_popup(widget_t* widget, const char* theme_of_popup)
return_value_if_fail(widget != NULL, RET_BAD_PARAMS);
TKMEM_FREE(combo_box->theme_of_popup);
combo_box->theme_of_popup = tk_strdup(theme_of_popup);
if (TK_STR_IS_NOT_EMPTY(theme_of_popup)) {
combo_box->theme_of_popup = tk_strdup(theme_of_popup);
}
return RET_OK;
}