You've already forked lazarus-ccr
TvPlanIt: Avoid crash when TVpSchedule.DeleteEvent is called with Event=nil.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1855,6 +1855,8 @@ end;
|
||||
list. }
|
||||
procedure TVpSchedule.DeleteEvent(Event: TVpEvent);
|
||||
begin
|
||||
if Event = nil then
|
||||
exit;
|
||||
Event.Deleted := true;
|
||||
Owner.EventsDirty := true;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user