TAChart: Do not re-sort data copied from already sorted source

git-svn-id: trunk@25928 -
This commit is contained in:
ask 2010-06-05 17:03:31 +00:00
parent 3bd2cdda8e
commit aa496b24ff

View File

@ -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;