From 77bf3f344e58da9484685ef3550e0909a3666d78 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 9 Nov 2024 21:50:03 +0100 Subject: Avoid showing error dialog on copy operation cancellation No Error set, just a global cancellation. --- UCoreWorkers.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/UCoreWorkers.pas b/UCoreWorkers.pas index 8c35c49..709de2b 100644 --- a/UCoreWorkers.pas +++ b/UCoreWorkers.pas @@ -1373,6 +1373,7 @@ var DefResponse: integer; // Global variables for this function end; // Error handling + if FCancelled then Exit; if (not Res) and (not FCopySkipAllErrors) then begin if FCopyErrorHandledInProgress then begin if FCopySilentCancel then Result := False; // Break the processing -- cgit v1.2.3