mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Also fixes for bug [0000225]
This commit is contained in:
parent
508a13c164
commit
dfd7d6995f
2 changed files with 12 additions and 3 deletions
|
|
@ -124,7 +124,7 @@ begin
|
|||
end
|
||||
else
|
||||
begin
|
||||
if AskQuestion(sMessage, '', [fsourSkip, fsourCancel],
|
||||
if AskQuestion(sMessage, '', [fsourSkip, fsourAbort],
|
||||
fsourSkip, fsourAbort) = fsourAbort then
|
||||
begin
|
||||
AbortOperation;
|
||||
|
|
|
|||
|
|
@ -1010,6 +1010,7 @@ var
|
|||
TempFileSource: ITempFileSystemFileSource = nil;
|
||||
Operation: TFileSourceOperation;
|
||||
aFileSource: IFileSource;
|
||||
UI: TFileSourceOperationMessageBoxesUI = nil;
|
||||
begin
|
||||
with frmMain do
|
||||
try
|
||||
|
|
@ -1062,8 +1063,16 @@ begin
|
|||
|
||||
if Assigned(Operation) then
|
||||
begin
|
||||
Operation.Execute;
|
||||
FreeAndNil(Operation);
|
||||
// Call directly - not through operations manager.
|
||||
UI := TFileSourceOperationMessageBoxesUI.Create;
|
||||
try
|
||||
Operation.AddUserInterface(UI);
|
||||
Operation.Execute;
|
||||
if Operation.Result = fsorAborted then Exit;
|
||||
finally
|
||||
FreeAndNil(Operation);
|
||||
FreeAndNil(UI);
|
||||
end;
|
||||
|
||||
aFileSource := TempFileSource;
|
||||
ChangeFileListRoot(TempFileSource.FileSystemRoot, SelectedFiles);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue