mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-03 14:38:18 +02:00
LazControls: lisfilteredit, reverted 35516 #aa06f3d9c9 to 35442 since we changed behaviour of ShowModal.
git-svn-id: trunk@35526 -
This commit is contained in:
parent
218a877daf
commit
59696974ad
@ -187,9 +187,10 @@ var
|
|||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
fSelectionList.Clear;
|
fSelectionList.Clear;
|
||||||
for i := 0 to fFilteredListbox.Count-1 do
|
if fFilteredListbox.SelCount > 0 then
|
||||||
if fFilteredListbox.Selected[i] then
|
for i := 0 to fFilteredListbox.Count-1 do
|
||||||
fSelectionList.Add(fFilteredListbox.Items[i]);
|
if fFilteredListbox.Selected[i] then
|
||||||
|
fSelectionList.Add(fFilteredListbox.Items[i]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TListFilterEdit.RestoreSelection;
|
procedure TListFilterEdit.RestoreSelection;
|
||||||
|
Loading…
Reference in New Issue
Block a user