Qt: fixed problem with dnd when dragged control doesn't have csCaptureMouse. fixes #17617

git-svn-id: trunk@27675 -
This commit is contained in:
zeljko 2010-10-13 06:44:59 +00:00
parent a6db96c22c
commit 1f9b17079e

View File

@ -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))^;