mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
IDE: Code cleanup in ShowViewUnitsDlg
git-svn-id: trunk@35515 -
This commit is contained in:
parent
78f0fb7ab1
commit
332f2a2a55
@ -112,11 +112,11 @@ begin
|
||||
end;
|
||||
FilterEdit.InvalidateFilter;
|
||||
// Initial selection
|
||||
for i:=0 to Entries.Count-1 do
|
||||
if TViewUnitsEntry(Entries.Objects[i]).Selected then begin
|
||||
UEntry:=TViewUnitsEntry(Entries.Objects[i]);
|
||||
for i:=0 to Entries.Count-1 do begin
|
||||
UEntry:=TViewUnitsEntry(Entries.Objects[i]);
|
||||
if UEntry.Selected then
|
||||
FilterEdit.SelectionList.Add(UEntry.Name);
|
||||
end;
|
||||
end;
|
||||
// Show the dialog
|
||||
Result:=ShowModal;
|
||||
if Result=mrOk then begin
|
||||
|
Loading…
Reference in New Issue
Block a user