mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 17:39:22 +02:00
Qt: always propagate mousewheel to parent, result will anyway stop the event (if true). fixes issue #20371
git-svn-id: trunk@32586 -
This commit is contained in:
parent
52c7ea4dad
commit
ac3e5510a7
@ -3100,6 +3100,8 @@ begin
|
|||||||
NotifyApplicationUserInput(Msg.Msg);
|
NotifyApplicationUserInput(Msg.Msg);
|
||||||
Result := DeliverMessage(Msg) <> 0;
|
Result := DeliverMessage(Msg) <> 0;
|
||||||
|
|
||||||
|
SetNoMousePropagation(QWidgetH(Sender), False);
|
||||||
|
|
||||||
{propagate mousewheel to parent if our sender is TPanel,
|
{propagate mousewheel to parent if our sender is TPanel,
|
||||||
fixes problem with mousewheel scroll with lazreport}
|
fixes problem with mousewheel scroll with lazreport}
|
||||||
if (LCLObject <> nil) and
|
if (LCLObject <> nil) and
|
||||||
|
Loading…
Reference in New Issue
Block a user