mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 22:32:40 +01:00
TAChart: Do not re-sort data copied from already sorted source
git-svn-id: trunk@25928 -
This commit is contained in:
parent
3bd2cdda8e
commit
aa496b24ff
@ -564,7 +564,7 @@ begin
|
||||
for i := 0 to ASource.Count - 1 do
|
||||
with ASource[i]^ do
|
||||
AddAt(FData.Count, X, Y, Text, Color);
|
||||
if Sorted then Sort;
|
||||
if Sorted and not ASource.IsSorted then Sort;
|
||||
finally
|
||||
EndUpdate;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user