mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 11:09:09 +02:00
Qt: use another approach to find control under mouse in TQtDesignWidget.DesignControlEventFilter()
git-svn-id: trunk@19100 -
This commit is contained in:
parent
a98fc12775
commit
1b3da68c68
@ -9785,7 +9785,7 @@ begin
|
||||
p := QMouseEvent_pos(QMouseEventH(Event))^;
|
||||
OffsetMousePos(@p);
|
||||
pt := Point(p.x, p.y);
|
||||
Control := LCLObject.ControlAtPos(pt, True, True);
|
||||
Control := LCLObject.ControlAtPos(pt, [capfRecursive, capfAllowWinControls]);
|
||||
|
||||
if Assigned(Control) and (Control is TWinControl) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user