소스 검색

* Applied patch from Luiz Americo not to send events when setting datasource to same value again (bug #21906)

git-svn-id: trunk@21158 -
michael 13 년 전
부모
커밋
27840f247c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/fcl-db/src/base/datasource.inc

+ 2 - 0
packages/fcl-db/src/base/datasource.inc

@@ -245,6 +245,8 @@ end;
 Procedure TDataLink.SetDataSource(Value : TDatasource);
 
 begin
+  if FDataSource = Value then
+    Exit;
   if not FDataSourceFixed then
     begin
     if Assigned(DataSource) then