mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:20:30 +02:00
IdeIntf: Match filter in options dialog only for visible controls.
git-svn-id: trunk@45222 -
This commit is contained in:
parent
9bb999850a
commit
081cf3a9ee
@ -558,6 +558,7 @@ var
|
||||
DefStyle: TFontStyles;
|
||||
begin
|
||||
Result:=False;
|
||||
if AControl.Visible then begin
|
||||
// *** First find matches in different controls ***
|
||||
// TSynEdit can't be used here in IdeOptionsIntf !
|
||||
//if AControl is TSynEdit then Found:=SearchSynEdit(AControl)
|
||||
@ -586,6 +587,7 @@ var
|
||||
AControl.Font.Style:=DefStyle;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
// Check child controls inside this one.
|
||||
if AControl is TWinControl then begin
|
||||
|
Loading…
Reference in New Issue
Block a user