* Fixed bug #26117, as proposed by reporter

git-svn-id: trunk@27747 -
This commit is contained in:
michael 2014-05-10 14:45:03 +00:00
parent eb32f7bc2e
commit c861384366

View File

@ -456,7 +456,8 @@ begin
If (FDataset<>Nil) then
FDataset.RemoveFreeNotification(Self);
FDataset:=AValue;
FDataset.FreeNotification(Self);
if (FDataset<>Nil) then
FDataset.FreeNotification(Self);
UnbindFields;
end;
end;