fix combo_box_set_text

This commit is contained in:
lixianjing 2020-11-30 12:10:07 +08:00
parent 8b3b7a760f
commit b2fb6fa9aa

View File

@ -99,6 +99,7 @@ static ret_t combo_box_set_text(widget_t* widget, const char* text, const wchar_
if (value_widget == NULL) {
value_widget = widget;
} else {
TKMEM_FREE(widget->tr_text);
widget_set_text(widget, L"");
}