Commit 7b4f4996 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

winefile: Add FOF_ALLOWUNDO to winefile to allow files go to trash.

parent edb91ce5
......@@ -4491,7 +4491,7 @@ static LRESULT CALLBACK ChildWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
case ID_FILE_DELETE: {
TCHAR path[BUFFER_LEN];
SHFILEOPSTRUCT shfo = {hwnd, FO_DELETE, path};
SHFILEOPSTRUCT shfo = {hwnd, FO_DELETE, path, NULL, FOF_ALLOWUNDO};
get_path(pane->cur, path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment