mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
installer: minor refactoring
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@749 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
574d7a1fba
commit
719418b16a
@ -364,15 +364,13 @@ end;
|
|||||||
|
|
||||||
function ShouldSkipPage(PageID: Integer): Boolean;
|
function ShouldSkipPage(PageID: Integer): Boolean;
|
||||||
begin
|
begin
|
||||||
if IsUpgrade() then begin
|
|
||||||
// Hide the license page
|
// Hide the license page
|
||||||
if PageID = wpLicense then begin
|
if IsUpgrade() AND (PageID = wpLicense) then begin
|
||||||
Result := True;
|
Result := True;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user