Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 89bd598

Browse files
committed
Also populate release selection page before starting setup
1 parent dc2a74c commit 89bd598

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ElixirWeb.iss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ end;
152152
153153
procedure CurPageChanged(CurPageID: Integer);
154154
begin
155-
if CurPageID = PSelInstallType.ID then begin
156-
PopulatePSelReleaseListBox(CSVToStringTable(ExpandConstant('{tmp}\releases.csv')));
157-
end;
158-
159155
if CurPageID = wpReady then begin
160156
idpAddFile(GetSelectedReleaseURL, ExpandConstant('{tmp}\Precompiled.zip'));
161157
idpDownloadAfter(wpPreparing);
@@ -184,6 +180,8 @@ begin
184180
PSelReleaseListBox.Width := PSelRelease.SurfaceWidth;
185181
PSelReleaseListBox.Height := PSelRelease.SurfaceHeight - 10;
186182
PSelReleaseListBox.Parent := PSelRelease.Surface;
183+
184+
PopulatePSelReleaseListBox(CSVToStringTable(ExpandConstant('{tmp}\releases.csv')));
187185
end;
188186
189187
function InitializeSetup(): Boolean;

0 commit comments

Comments
 (0)