From 451b6e00166119e867c764c1f6ffb958c6d88830 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 17 May 2018 16:04:57 +0000 Subject: [PATCH] tvplanit: Remove unnecessary call to Datastore.PostEvents after closing VpDayView's event editor dialog (issue #33749). git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6430 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpdayview.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/tvplanit/source/vpdayview.pas b/components/tvplanit/source/vpdayview.pas index b45dc0314..c2fa90b32 100644 --- a/components/tvplanit/source/vpdayview.pas +++ b/components/tvplanit/source/vpdayview.pas @@ -2092,8 +2092,7 @@ begin FActiveEvent := nil; dvActiveEventRec := Rect(0, 0, 0, 0); dvActiveIconRec := Rect(0, 0, 0, 0); - end else - DataStore.PostEvents; + end; Invalidate; end; end;