You've already forked lazarus-ccr
tvplanit: Fix new events initially being displayed as overlayed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1154,7 +1154,7 @@ var
|
|||||||
res: TVpResource; // resource to which the event belongs
|
res: TVpResource; // resource to which the event belongs
|
||||||
begin
|
begin
|
||||||
Result := false;
|
Result := false;
|
||||||
if (FOwner <> nil) then begin
|
if (FOwner <> nil) and (FResourceID > 0) then begin
|
||||||
res := FOwner.FOwner;
|
res := FOwner.FOwner;
|
||||||
if (res <> nil) and (res.ResourceID <> FResourceID) then
|
if (res <> nil) and (res.ResourceID <> FResourceID) then
|
||||||
Result := true;
|
Result := true;
|
||||||
|
Reference in New Issue
Block a user