Skip to content

Commit

Permalink
#10 Now using existance of PersistenceController
Browse files Browse the repository at this point in the history
to determine if system is persistent for the purposes
of fetching class list.
  • Loading branch information
Roland Bengtsson committed May 14, 2021
1 parent 7f615b6 commit 270c209
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ procedure TBoldClassListController.MakeDbCurrent;
var
SourceList: TBoldObjectList;
begin
if ClassTypeinfo.Persistent and BoldSystem.BoldPersistent then
if ClassTypeinfo.Persistent and Assigned(BoldSystem.PersistenceController) then
begin
SourceList := ClosestLoadedClassList;

Expand Down

0 comments on commit 270c209

Please sign in to comment.