mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
Merged revision(s) 49289 #6b5589a1c7 from trunk:
IDE: Don't select the first component in ComponentList at startup. Issue #28260, patch from Ondrej Pokorny ........ git-svn-id: branches/fixes_1_4@49298 -
This commit is contained in:
parent
c89fc75712
commit
402af0b195
@ -130,8 +130,6 @@ begin
|
||||
if Assigned(IDEComponentPalette) then
|
||||
begin
|
||||
UpdateComponentSelection;
|
||||
with ListTree do
|
||||
Selected := Items.GetFirstNode;
|
||||
TreeFilterEd.InvalidateFilter;
|
||||
IDEComponentPalette.AddHandlerComponentAdded(@ComponentWasAdded);
|
||||
end;
|
||||
@ -160,6 +158,13 @@ begin
|
||||
end
|
||||
else
|
||||
PageControl.AnchorSideBottom.Side := asrBottom;
|
||||
|
||||
if not Assigned(Parent) then//only in undocked IDE
|
||||
begin
|
||||
if TreeFilterEd.CanFocus then
|
||||
TreeFilterEd.SetFocus;
|
||||
TreeFilterEd.SelectAll;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TComponentListForm.FormActivate(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user