From c847f138e68370846043766970b2372484c2f149 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 30 Jun 2016 20:26:14 +0000 Subject: [PATCH] tvplanit: Undo previous commit (resorting by time) - it causes a hang. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4874 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpdayviewpainter.pas | 2 +- components/tvplanit/source/vpweekviewpainter.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;