mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 11:19:20 +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;
|
Exit;
|
||||||
|
|
||||||
if not (csCaptureMouse in LCLObject.ControlStyle) and
|
if not (csCaptureMouse in LCLObject.ControlStyle) and
|
||||||
not QWidget_isWindow(Widget) then
|
not QWidget_isWindow(Widget) and
|
||||||
|
not DragManager.IsDragging then
|
||||||
begin
|
begin
|
||||||
MousePos := QMouseEvent_pos(QMouseEventH(Event))^;
|
MousePos := QMouseEvent_pos(QMouseEventH(Event))^;
|
||||||
GlobPos := QMouseEvent_globalPos(QMouseEventH(Event))^;
|
GlobPos := QMouseEvent_globalPos(QMouseEventH(Event))^;
|
||||||
|
Loading…
Reference in New Issue
Block a user