From: Charlotte Pabst cpabst@codeweavers.com
This fixes a regression introduced in b5cbb556.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57240
Signed-off-by: Charlotte Pabst cpabst@codeweavers.com --- dlls/comdlg32/itemdlg.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c index 784a14b47e4..439a6b2214a 100644 --- a/dlls/comdlg32/itemdlg.c +++ b/dlls/comdlg32/itemdlg.c @@ -2562,6 +2562,8 @@ static HRESULT WINAPI IFileDialog2_fnSetFileTypeIndex(IFileDialog2 *iface, UINT iFileType = min(iFileType, This->filterspec_count); This->filetypeindex = iFileType-1;
+ set_current_filter(This, This->filterspecs[This->filetypeindex].pszSpec); + return S_OK; }