diff --git a/components/tvplanit/source/vpdayview.pas b/components/tvplanit/source/vpdayview.pas index 2df6be4d8..a9abc95e7 100644 --- a/components/tvplanit/source/vpdayview.pas +++ b/components/tvplanit/source/vpdayview.pas @@ -1337,6 +1337,7 @@ begin continue; id := DataStore.GetNextID(EventsTableName); FActiveEvent := Datastore.Resource.Schedule.AddEvent(id, starttime, endtime); + FActiveEvent.Changed := true; FActiveEvent.LoadFromICalendar(TVpICalEvent(ical[i])); Datastore.PostEvents; Datastore.NotifyDependents; diff --git a/components/tvplanit/source/vpweekview.pas b/components/tvplanit/source/vpweekview.pas index b53e9a705..10a86737f 100644 --- a/components/tvplanit/source/vpweekview.pas +++ b/components/tvplanit/source/vpweekview.pas @@ -1276,6 +1276,7 @@ begin continue; id := DataStore.GetNextID(EventsTableName); FActiveEvent := Datastore.Resource.Schedule.AddEvent(id, starttime, endtime); + FActiveEvent.Changed := true; FActiveEvent.LoadFromICalendar(TVpICalEvent(ical[i])); Datastore.PostEvents; Datastore.NotifyDependents;