浏览代码

* TCollection.Exchange also needs to notify

git-svn-id: trunk@22258 -
michael 13 年之前
父节点
当前提交
445ec2672a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      rtl/objpas/classes/collect.inc

+ 1 - 0
rtl/objpas/classes/collect.inc

@@ -419,6 +419,7 @@ procedure TCollection.Exchange(Const Index1, index2: integer);
 
 begin
   FItems.Exchange(Index1,Index2);
+  FPONotifyObservers(Self,ooChanged,Nil);
 end;