mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:20:35 +02:00
Qt6: fixed crash while processing wheelscroll event inside mdiarea window.
This commit is contained in:
parent
8a60ec04de
commit
805a8817ed
@ -6704,7 +6704,7 @@ begin
|
||||
try
|
||||
Result := SlotMouseWheel(Sender, AEvent);
|
||||
finally
|
||||
QEvent_destroy(Event);
|
||||
QEvent_destroy(AEvent);
|
||||
end;
|
||||
Result := False;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user