mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001157] 'overwrite all' user interaction dialog keep requesting permission (sync folder)
This commit is contained in:
parent
5397313ee2
commit
e8678df905
8 changed files with 13 additions and 2 deletions
|
|
@ -200,6 +200,7 @@ end;
|
|||
|
||||
procedure TFileSystemCopyOperation.Finalize;
|
||||
begin
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FreeAndNil(FOperationHelper);
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -164,8 +164,8 @@ end;
|
|||
|
||||
procedure TFileSystemMoveOperation.Finalize;
|
||||
begin
|
||||
if Assigned(FOperationHelper) then
|
||||
FreeAndNil(FOperationHelper);
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FreeAndNil(FOperationHelper);
|
||||
end;
|
||||
|
||||
class function TFileSystemMoveOperation.GetOptionsUIClass: TFileSourceOperationOptionsUIClass;
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ end;
|
|||
|
||||
procedure TGioCopyOperation.Finalize;
|
||||
begin
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ end;
|
|||
|
||||
procedure TGioMoveOperation.Finalize;
|
||||
begin
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
|
|
|
|||
|
|
@ -164,6 +164,8 @@ begin
|
|||
FCallbackDataClass.UpdateProgressFunction:= nil;
|
||||
UpdateProgressFunction:= nil;
|
||||
end;
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
class function TWfxPluginCopyInOperation.GetOptionsUIClass: TFileSourceOperationOptionsUIClass;
|
||||
|
|
|
|||
|
|
@ -152,6 +152,8 @@ begin
|
|||
FCallbackDataClass.UpdateProgressFunction:= nil;
|
||||
UpdateProgressFunction:= nil;
|
||||
end;
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
class function TWfxPluginCopyOperation.GetOptionsUIClass: TFileSourceOperationOptionsUIClass;
|
||||
|
|
|
|||
|
|
@ -164,6 +164,8 @@ begin
|
|||
FCallbackDataClass.UpdateProgressFunction:= nil;
|
||||
UpdateProgressFunction:= nil;
|
||||
end;
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
class function TWfxPluginCopyOutOperation.GetOptionsUIClass: TFileSourceOperationOptionsUIClass;
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ begin
|
|||
FCallbackDataClass.UpdateProgressFunction:= nil;
|
||||
UpdateProgressFunction:= nil;
|
||||
end;
|
||||
FileExistsOption := FOperationHelper.FileExistsOption;
|
||||
FOperationHelper.Free;
|
||||
end;
|
||||
|
||||
class function TWfxPluginMoveOperation.GetOptionsUIClass: TFileSourceOperationOptionsUIClass;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue