mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
Qt: set result to true when we loose our LCLObject inside eventfilter, so we stop event propagation and possible AV.
git-svn-id: trunk@21642 -
This commit is contained in:
parent
3c12d6c41b
commit
1c90131396
@ -1868,7 +1868,10 @@ begin
|
||||
(QEvent_type(Event) = QEventMouseMove) or
|
||||
(QEvent_type(Event) = QEventKeyPress) or
|
||||
(QEvent_type(Event) = QEventKeyRelease)) then
|
||||
begin
|
||||
Result := True;
|
||||
BeginEventProcessing;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
EndEventProcessing;
|
||||
|
Loading…
Reference in New Issue
Block a user