mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +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,14 +364,12 @@ end;
|
||||
|
||||
function ShouldSkipPage(PageID: Integer): Boolean;
|
||||
begin
|
||||
if IsUpgrade() then begin
|
||||
// Hide the license page
|
||||
if PageID = wpLicense then begin
|
||||
Result := True;
|
||||
end
|
||||
else begin
|
||||
// Hide the license page
|
||||
if IsUpgrade() AND (PageID = wpLicense) then begin
|
||||
Result := True;
|
||||
end
|
||||
else begin
|
||||
Result := False;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user