Module: wine Branch: master Commit: 51c5fb78170d2896fb6817ab399ebc6a2b5f9d32 URL: https://source.winehq.org/git/wine.git/?a=commit;h=51c5fb78170d2896fb6817ab3...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Fri Sep 28 14:44:09 2018 +0300
shell32/autocomplete: Hide the AutoComplete listbox when auto-suggest is turned off.
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
---
dlls/shell32/autocomplete.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c index b229fed..5a8e03a 100644 --- a/dlls/shell32/autocomplete.c +++ b/dlls/shell32/autocomplete.c @@ -775,6 +775,8 @@ static HRESULT WINAPI IAutoComplete2_fnSetOptions(
if ((This->options & ACO_AUTOSUGGEST) && This->hwndEdit && !This->hwndListBox) create_listbox(This); + else if (!(This->options & ACO_AUTOSUGGEST) && This->hwndListBox) + hide_listbox(This, This->hwndListBox);
return hr; }