|
@@ -2917,7 +2917,8 @@ Begin
|
|
Try
|
|
Try
|
|
ReadZipDirectory;
|
|
ReadZipDirectory;
|
|
FTotPos := 0;
|
|
FTotPos := 0;
|
|
- FTotSize := CalcTotalSize(AllFiles);
|
|
|
|
|
|
+ if Assigned(FOnProgressEx) and not Terminated then
|
|
|
|
+ FTotSize := CalcTotalSize(AllFiles);
|
|
i:=0;
|
|
i:=0;
|
|
While (I<FEntries.Count) and not Terminated do
|
|
While (I<FEntries.Count) and not Terminated do
|
|
begin
|
|
begin
|