mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 22:20:19 +02:00
Bug fix for OnEditorFilter (was not called for sub TPersistent). From Maciej.
git-svn-id: trunk@51090 -
This commit is contained in:
parent
f4b38428a6
commit
59e349c1ae
@ -1985,6 +1985,9 @@ procedure TOICustomPropertyGrid.AddSubEditor(PropEditor:TPropertyEditor);
|
||||
var NewRow:TOIPropertyGridRow;
|
||||
NewIndex:integer;
|
||||
begin
|
||||
if not EditorFilter(PropEditor) then
|
||||
Exit;
|
||||
|
||||
if PropEditor is TClassPropertyEditor then
|
||||
(PropEditor as TClassPropertyEditor).SubPropsTypeFilter := FFilter;
|
||||
if PropEditor is TClassPropertyEditor then
|
||||
|
Loading…
Reference in New Issue
Block a user