mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 02:37:32 +01:00
RTTI: Fix a crash in TTIGrid with boolean properties. Issue #35583, patch from greenfil.
git-svn-id: trunk@63345 -
This commit is contained in:
parent
48f187bdd5
commit
0a06f431f1
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user