LazControls: lisfilteredit, reverted 35516 #aa06f3d9c9 to 35442 since we changed behaviour of ShowModal.

git-svn-id: trunk@35526 -
This commit is contained in:
zeljko 2012-02-21 09:33:14 +00:00
parent 218a877daf
commit 59696974ad

View File

@ -187,9 +187,10 @@ var
i: Integer;
begin
fSelectionList.Clear;
for i := 0 to fFilteredListbox.Count-1 do
if fFilteredListbox.Selected[i] then
fSelectionList.Add(fFilteredListbox.Items[i]);
if fFilteredListbox.SelCount > 0 then
for i := 0 to fFilteredListbox.Count-1 do
if fFilteredListbox.Selected[i] then
fSelectionList.Add(fFilteredListbox.Items[i]);
end;
procedure TListFilterEdit.RestoreSelection;