mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 12:40:22 +02:00
Opkman: Small bugfix.
git-svn-id: trunk@62682 -
This commit is contained in:
parent
ab0b56c0f8
commit
5930969e12
@ -285,7 +285,10 @@ begin
|
||||
MS.Position := 0;
|
||||
SetLength(JSON, MS.Size);
|
||||
MS.Read(Pointer(JSON)^, Length(JSON));
|
||||
SuccessfullyLoaded := SerializablePackages.JSONToPackages(JSON);
|
||||
try
|
||||
SuccessfullyLoaded := SerializablePackages.JSONToPackages(JSON);
|
||||
except
|
||||
end;
|
||||
if SuccessfullyLoaded then
|
||||
begin
|
||||
DoOnJSONDownloadCompleted(Self, JSON, etNone);
|
||||
|
Loading…
Reference in New Issue
Block a user