diff --git a/components/tvplanit/source/vpdayviewpainter.pas b/components/tvplanit/source/vpdayviewpainter.pas index dad5e9725..ba91648be 100644 --- a/components/tvplanit/source/vpdayviewpainter.pas +++ b/components/tvplanit/source/vpdayviewpainter.pas @@ -1630,7 +1630,7 @@ begin { Now sort times in ascending order. This must be done because the event list can contain recurring events which have the wrong date part } - EventList.Sort(CompareEventsByTimeOnly); + // EventList.Sort(CompareEventsByTimeOnly); { Arrange this day's events in the event matrix } level := 0; diff --git a/components/tvplanit/source/vpweekviewpainter.pas b/components/tvplanit/source/vpweekviewpainter.pas index c874bbbf4..bbf362177 100644 --- a/components/tvplanit/source/vpweekviewpainter.pas +++ b/components/tvplanit/source/vpweekviewpainter.pas @@ -300,7 +300,7 @@ begin { Now sort times in ascending order. This must be done because the event list can contain recurring events which have the wrong date part } - EventList.Sort(CompareEventsByTimeOnly); +// EventList.Sort(CompareEventsByTimeOnly); { initialize TextRect for this day } TextRect := DayRect;