You've already forked lazarus-ccr
tvplanit: Fix mormotdemo not being updated after changed dataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -26,7 +26,6 @@
|
|||||||
<RunParams>
|
<RunParams>
|
||||||
<local>
|
<local>
|
||||||
<FormatVersion Value="1"/>
|
<FormatVersion Value="1"/>
|
||||||
<CommandLineParams Value="-noserver"/>
|
|
||||||
</local>
|
</local>
|
||||||
</RunParams>
|
</RunParams>
|
||||||
<RequiredPackages Count="3">
|
<RequiredPackages Count="3">
|
||||||
|
@ -815,13 +815,13 @@ procedure TVpCustomDataStore.NotifyDependents;
|
|||||||
var
|
var
|
||||||
I: Integer;
|
I: Integer;
|
||||||
begin
|
begin
|
||||||
if (Owner = nil) or Loading then
|
if (FLinkedOwner = nil) or Loading then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
for I := 0 to pred(Owner.ComponentCount) do begin
|
for I := 0 to pred(FLinkedOwner.ComponentCount) do begin
|
||||||
if (Owner.Components[I] is TVpLinkableControl) then begin
|
if (FLinkedOwner.Components[I] is TVpLinkableControl) then begin
|
||||||
if (TVpLinkableControl(Owner.Components[I]).DataStore = self) then
|
if (TVpLinkableControl(FLinkedOwner.Components[I]).DataStore = self) then
|
||||||
TVpLinkableControl(Owner.Components[I]).Invalidate;
|
TVpLinkableControl(FLinkedOwner.Components[I]).Invalidate;
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
NotifyLinked;
|
NotifyLinked;
|
||||||
|
Reference in New Issue
Block a user