IdeIntf: Match filter in options dialog only for visible controls.

git-svn-id: trunk@45222 -
This commit is contained in:
juha 2014-05-29 19:39:29 +00:00
parent 9bb999850a
commit 081cf3a9ee

View File

@ -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