mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: consultResult may be changed by the subclass
This commit is contained in:
parent
0439ed958b
commit
18bc5f7a6e
1 changed files with 2 additions and 0 deletions
|
|
@ -217,10 +217,12 @@ begin
|
|||
// If same file source and address
|
||||
if isCompatibleFileSourceForCopyOperation( sourceFS, targetFS ) then begin
|
||||
params.resultFS:= params.sourceFS;
|
||||
params.consultResult:= fscrSuccess;
|
||||
end else if (fsoCopyOut in sourceFS.GetOperationsTypes) and (fsoCopyIn in targetFS.GetOperationsTypes) then begin
|
||||
params.resultOperationType:= fsoCopyOut;
|
||||
params.operationTemp:= True;
|
||||
params.resultFS:= params.sourceFS;
|
||||
params.consultResult:= fscrSuccess;
|
||||
end else begin
|
||||
params.consultResult:= fscrNotSupported;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue