diff --git a/Source/BoldSystem.pas b/Source/BoldSystem.pas index 869d77b..5a903b3 100644 --- a/Source/BoldSystem.pas +++ b/Source/BoldSystem.pas @@ -1156,6 +1156,7 @@ TBoldObjectList = class(TBoldList) function GetFreeStandingClass: TBoldFreeStandingElementClass; override; function IncludesElement(Item: TBoldElement): Boolean; override; function IndexOfElement(Item: TBoldElement): Integer; override; + function GetEvaluator: TBoldEvaluator; override; procedure Initialize; override; procedure InsertElement(index: Integer; Element: TBoldElement); override; procedure SetElement(index: Integer; Value: TBoldElement); override; @@ -8297,6 +8298,18 @@ procedure TBoldObjectList.FreeData; begin end; +function TBoldObjectList.GetEvaluator: TBoldEvaluator; +begin + result := nil; + if IsPartOfSystem then + result := BoldSystem.Evaluator + else + if not Empty then + result := Locators[0].BoldSystem.Evaluator + else + result := inherited GetEvaluator; +end; + function TBoldObjectList.ObserverMayModify(Observer: TObject): Boolean; begin result := inherited ObserverMayModify(Observer) and