mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 04:29:25 +02:00
LCL: fixed wrong result from DragManager.IsDragging if we call modal form or dialog from OnDragDrop() event. issues #17657 and #20676
git-svn-id: trunk@35181 -
This commit is contained in:
parent
311b8e0ab1
commit
e0d1f86ca1
@ -619,7 +619,7 @@ end;
|
||||
function TDragManagerDefault.IsDragging: boolean;
|
||||
//Is something being dragged
|
||||
begin
|
||||
Result := FPerformer <> nil
|
||||
Result := (FPerformer <> nil) and not FInDragStop;
|
||||
end;
|
||||
|
||||
function TDragManagerDefault.Dragging(AControl: TControl): boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user