IDEIntf: TDefaultComponentEditor: always select component

git-svn-id: trunk@37144 -
This commit is contained in:
mattias 2012-05-03 06:46:12 +00:00
parent 6e86b03868
commit 4b43946e95

View File

@ -699,8 +699,7 @@ begin
if not GetHook(PropertyEditorHook) then exit;
NewLookupRoot:=GetLookupRootForComponent(Component);
if not (NewLookupRoot is TComponent) then exit;
if NewLookupRoot<>PropertyEditorHook.LookupRoot then
GetDesigner.SelectOnlyThisComponent(Component);
GetDesigner.SelectOnlyThisComponent(Component);
FContinue := True;
FFirst := nil;
FBest := nil;