mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix combo_box_set_text
This commit is contained in:
parent
8b3b7a760f
commit
b2fb6fa9aa
@ -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"");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user