mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 23:20:18 +02:00
Qt: fixed problem with dnd when dragged control doesn't have csCaptureMouse. fixes #17617
git-svn-id: trunk@27675 -
This commit is contained in:
parent
a6db96c22c
commit
1f9b17079e
@ -2834,7 +2834,8 @@ begin
|
||||
Exit;
|
||||
|
||||
if not (csCaptureMouse in LCLObject.ControlStyle) and
|
||||
not QWidget_isWindow(Widget) then
|
||||
not QWidget_isWindow(Widget) and
|
||||
not DragManager.IsDragging then
|
||||
begin
|
||||
MousePos := QMouseEvent_pos(QMouseEventH(Event))^;
|
||||
GlobPos := QMouseEvent_globalPos(QMouseEventH(Event))^;
|
||||
|
Loading…
Reference in New Issue
Block a user