mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 22:01:46 +02:00
fixed TCollection editor to select last added
git-svn-id: trunk@7609 -
This commit is contained in:
parent
373eba5ee6
commit
59c432b6ce
@ -3338,6 +3338,9 @@ begin
|
||||
if Collection=nil then exit;
|
||||
Collection.Add;
|
||||
FillCollectionListBox;
|
||||
if CollectionListBox.Items.Count>0 then
|
||||
CollectionListBox.ItemIndex := CollectionListBox.Items.Count-1;
|
||||
SelectInObjectInspector(true);
|
||||
UpdateCaption;
|
||||
Modified;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user