2
0
Эх сурвалжийг харах

ADD: Show progress when open inner archive from archive

Alexander Koblov 3 жил өмнө
parent
commit
a0bd0ad760

+ 2 - 5
src/filesources/uarchivefilesourceutil.pas

@@ -140,7 +140,7 @@ begin
 
       if Assigned(Operation) then
       begin
-        Operation.Execute;
+        OperationsManager.AddOperationModal(Operation);
 
         if Operation.Result = fsorFinished then
         begin
@@ -155,10 +155,7 @@ begin
 
     finally
       TempFS := nil;
-      if Assigned(Files) then
-        FreeAndNil(Files);
-      if Assigned(Operation) then
-        FreeAndNil(Operation);
+      FreeAndNil(Files);
     end;
   end;
 end;