diff --git a/components/rtticontrols/rttigrids.pas b/components/rtticontrols/rttigrids.pas index ae6075aa70..3d7e33406a 100644 --- a/components/rtticontrols/rttigrids.pas +++ b/components/rtticontrols/rttigrids.pas @@ -1015,7 +1015,7 @@ begin NewEditor:=nil; try EditorClass:=TPropertyEditorClass(GridProperty.Editor.ClassType); - NewEditor:=EditorClass.Create(nil,1); + NewEditor:=EditorClass.Create(FHeaderPropHook,1); NewEditor.SetPropEntry(0,CurObject,GridProperty.PropInfo); NewEditor.Initialize; aPropEditor := NewEditor;