mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Error message on not existing drive
This commit is contained in:
parent
6125e6bdf7
commit
baa8a32720
1 changed files with 1 additions and 1 deletions
|
|
@ -677,7 +677,7 @@ begin
|
|||
aFile.Name := sPath;
|
||||
Files:= TFiles.Create; // free in ShowContextMenu
|
||||
Files.Add(aFile);
|
||||
OldErrorMode:= SetErrorMode(SEM_NOOPENFILEERRORBOX);
|
||||
OldErrorMode:= SetErrorMode(SEM_FAILCRITICALERRORS or SEM_NOOPENFILEERRORBOX);
|
||||
ShowContextMenu(Owner, Files, X, Y);
|
||||
SetErrorMode(OldErrorMode);
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue