mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 16:40:48 +02:00
ideintf: do not filter sub-properties by TComponent (fixes bug #0013354)
git-svn-id: trunk@19035 -
This commit is contained in:
parent
a56ea09d06
commit
7a695c516b
@ -6786,7 +6786,7 @@ var
|
||||
// Since components are selectable in the designer,
|
||||
// there is always a possibility that some descendant class may have
|
||||
// properties of the required kind.
|
||||
(GetTypeData(ti)^.ClassType.InheritsFrom(TComponent));
|
||||
(GetTypeData(ti)^.ClassType.InheritsFrom(TPersistent));
|
||||
// Class properties may directly or indirectly refer to the same class,
|
||||
// so we must avoid infinite recursion.
|
||||
if Result or (visited.IndexOf(ti) >= 0) then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user