tvplanit: Fix DayView getting into DragMode after double-click (Patch by DonAlfredo).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-08-26 15:45:53 +00:00
parent d94726d14a
commit 0ea05db2ba

View File

@ -1688,6 +1688,10 @@ var
begin begin
inherited; inherited;
dvClickTimer.Enabled := false; dvClickTimer.Enabled := false;
dvMouseDownPoint := Point(0, 0);
dvMouseDown := false;
dvDragging := false;
{ if the mouse was pressed down in the client area, then select the cell. } { if the mouse was pressed down in the client area, then select the cell. }
if not focused then SetFocus; if not focused then SetFocus;