NFD click callback should return S_OK on OK

This commit is contained in:
tildearrow 2023-08-24 15:34:16 -05:00
parent 2b007a03e0
commit 8a1ba5a544

View file

@ -61,7 +61,7 @@ class NFDWinEvents: public IFileDialogEvents {
return ret;
}
IFACEMETHODIMP OnFileOk(IFileDialog*) { return E_NOTIMPL; }
IFACEMETHODIMP OnFileOk(IFileDialog*) { return S_OK; }
IFACEMETHODIMP OnFolderChange(IFileDialog*) { return E_NOTIMPL; }
IFACEMETHODIMP OnFolderChanging(IFileDialog*, IShellItem*) { return E_NOTIMPL; }
IFACEMETHODIMP OnOverwrite(IFileDialog*, IShellItem*, FDE_OVERWRITE_RESPONSE*) { return E_NOTIMPL; }