IDE: view unit dialog: make sure the selected item is visible from Dominique Louis (bug #11017)

git-svn-id: trunk@14712 -
This commit is contained in:
vincents 2008-04-01 11:48:32 +00:00
parent 18edbe16d8
commit cb6d60d9cf

View File

@ -206,6 +206,7 @@ var
begin
Index := SearchItem(ListBox.Items, Edit.Text);
ListBox.ItemIndex := Index;
ListBox.MakeCurrentVisible;
if ListBox.MultiSelect then
begin