From bcaa0027c7f02414b33996135efbfc4214e96d58 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Wed, 14 Jan 2015 09:43:28 +0100 Subject: [PATCH] fix, AV in static explorer if fDoc is not a D source --- src/ce_staticexplorer.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ce_staticexplorer.pas b/src/ce_staticexplorer.pas index bdd37869..6d36e57d 100644 --- a/src/ce_staticexplorer.pas +++ b/src/ce_staticexplorer.pas @@ -509,6 +509,7 @@ begin str.Free; DeleteFile(fJsonFname); end; + if dat.Count = 0 then exit; // update tree try