Opkman: do not try to download package list on IDE startup if update interval is set to 'never', patch from Balázs

git-svn-id: branches/fixes_2_0@59783 -
This commit is contained in:
maxim 2018-12-10 22:20:40 +00:00
parent ca0776b930
commit a3398d4910

View File

@ -127,7 +127,7 @@ begin
begin
if (FPackageLinks.Count = 0) then
begin
if (not PackageDownloader.DownloadingJSON) and (not Application.Terminated) then
if (not PackageDownloader.DownloadingJSON) and (not Application.Terminated) and (Options.CheckForUpdates <> 5) then
PackageDownloader.DownloadJSON(Options.ConTimeOut*1000, True);
Exit;
end;