shell32/autocomplete: Reset the enumerator when the text is empty even when auto-suggest is disabled.
This is needed for auto-append only AutoComplete controls. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4f85424d58
commit
9a41584c49
|
@ -454,7 +454,8 @@ static void autocomplete_text(IAutoCompleteImpl *ac, HWND hwnd, enum autoappend_
|
|||
if (flag != autoappend_flag_displayempty && len == 0)
|
||||
{
|
||||
if (ac->options & ACO_AUTOSUGGEST)
|
||||
hide_listbox(ac, ac->hwndListBox, TRUE);
|
||||
hide_listbox(ac, ac->hwndListBox, FALSE);
|
||||
free_enum_strs(ac);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue