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:
zeljko 2011-10-01 15:22:31 +00:00
parent 52c7ea4dad
commit ac3e5510a7

View File

@ -3100,6 +3100,8 @@ begin
NotifyApplicationUserInput(Msg.Msg);
Result := DeliverMessage(Msg) <> 0;
SetNoMousePropagation(QWidgetH(Sender), False);
{propagate mousewheel to parent if our sender is TPanel,
fixes problem with mousewheel scroll with lazreport}
if (LCLObject <> nil) and