|
@@ -325,9 +325,14 @@ Var I : Longint;
|
|
begin
|
|
begin
|
|
If Source is TCollection then
|
|
If Source is TCollection then
|
|
begin
|
|
begin
|
|
- Clear;
|
|
|
|
- For I:=0 To TCollection(Source).Count-1 do
|
|
|
|
- Add.Assign(TCollection(Source).Items[I]);
|
|
|
|
|
|
+ BeginUpdate;
|
|
|
|
+ try
|
|
|
|
+ Clear;
|
|
|
|
+ For I:=0 To TCollection(Source).Count-1 do
|
|
|
|
+ Add.Assign(TCollection(Source).Items[I]);
|
|
|
|
+ finally
|
|
|
|
+ EndUpdate;
|
|
|
|
+ end;
|
|
exit;
|
|
exit;
|
|
end
|
|
end
|
|
else
|
|
else
|