FIX: the issue when Copying / Moving files without confirm dialog #2035

This commit is contained in:
rich2014 2024-12-29 10:19:39 +08:00
commit 30d8b77eda

View file

@ -3739,7 +3739,8 @@ begin
else begin
FileSourceManager.confirmOperation( params );
GetDestinationPathAndMask(SourceFiles, TargetFileSource, params.resultTargetPath,
SourceFiles.Path, params.resultTargetPath, sDstMaskTemp);
SourceFiles.Path, TargetPath, sDstMaskTemp);
params.resultTargetPath:= TargetPath;
end;
// Copy via temp directory
@ -3912,7 +3913,8 @@ begin
else begin
FileSourceManager.confirmOperation( params );
GetDestinationPathAndMask(SourceFiles, TargetFileSource, params.resultTargetPath,
SourceFiles.Path, params.resultTargetPath, sDstMaskTemp);
SourceFiles.Path, TargetPath, sDstMaskTemp);
params.resultTargetPath:= TargetPath;
end;
if bMove then