mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 16:59:11 +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;
|
MS.Position := 0;
|
||||||
SetLength(JSON, MS.Size);
|
SetLength(JSON, MS.Size);
|
||||||
MS.Read(Pointer(JSON)^, Length(JSON));
|
MS.Read(Pointer(JSON)^, Length(JSON));
|
||||||
|
try
|
||||||
SuccessfullyLoaded := SerializablePackages.JSONToPackages(JSON);
|
SuccessfullyLoaded := SerializablePackages.JSONToPackages(JSON);
|
||||||
|
except
|
||||||
|
end;
|
||||||
if SuccessfullyLoaded then
|
if SuccessfullyLoaded then
|
||||||
begin
|
begin
|
||||||
DoOnJSONDownloadCompleted(Self, JSON, etNone);
|
DoOnJSONDownloadCompleted(Self, JSON, etNone);
|
||||||
|
Loading…
Reference in New Issue
Block a user