lcl: don't produce false drops during drag/drop operations in case we are still waiting for drag threshold (by Hans-Peter Diettrich, issue #0013675)

git-svn-id: trunk@19842 -
This commit is contained in:
paul 2009-05-08 01:14:00 +00:00
parent 96db128d27
commit c9a275b3a4

View File

@ -603,7 +603,7 @@ begin
begin begin
FInDragStop := True; FInDragStop := True;
try try
FPerformer.DragStop(ADropped); FPerformer.DragStop(ADropped and not FWaitForTreshold);
finally finally
FreeAndNil(FPerformer); FreeAndNil(FPerformer);
FInDragStop := False; FInDragStop := False;