mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:59:16 +02:00
LCL: fixed setting TListBox.Items.Sorted for Listbox without handle, fixes #12216
git-svn-id: trunk@16688 -
This commit is contained in:
parent
9402e3b34d
commit
fa633cdfbc
@ -234,7 +234,7 @@ begin
|
||||
TWSCustomListBoxClass(WidgetSetClass).SetSorted(Self, FItems, FSorted);
|
||||
UnlockSelectionChange;
|
||||
end else begin
|
||||
TExtendedStringList(FItems).Sorted:=true;
|
||||
TExtendedStringList(FItems).Sorted:=FSorted;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user