Corretto ridisegno dell'edit field dei listbox
git-svn-id: svn://10.65.10.50/trunk@4364 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1a5e018913
commit
72e63eb974
@ -1854,7 +1854,9 @@ bool TDropDownList::select(int i, bool force)
|
||||
_selected = i;
|
||||
|
||||
if (_obj->type == XIT_FIELD)
|
||||
{
|
||||
{
|
||||
if (is_open())
|
||||
xi_set_text(_obj, ""); // Altrimenti a volte ridisegna male!
|
||||
xi_set_text(_obj, (char*)_values.get(i));
|
||||
TListbox_control* listbox = (TListbox_control *)xi_get_app_data(_obj);
|
||||
listbox->notify_key(K_SPACE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user