- FlightGear.iss - forcing ShouldSkipPage in custom defined code for downloading data

This commit is contained in:
Slawek Mikula
2021-06-11 12:44:17 +01:00
committed by Automatic Release Builder
parent c2972bc0d1
commit 8b4ead455e
+8
View File
@@ -323,6 +323,8 @@ begin
end; end;
end end
else if CurPageID = wpReady then begin else if CurPageID = wpReady then begin
if ShouldSkipPage(DownloadPageId) = false then begin
DownloadPage.Clear; DownloadPage.Clear;
fgDataInstalled := 0; fgDataInstalled := 0;
@@ -391,6 +393,12 @@ begin
DownloadPage.Hide; DownloadPage.Hide;
end; end;
end end
else
begin
// skipping downloading
Result := True;
end;
end
else else
Result := True; Result := True;
end; end;