mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 18:01:29 +02:00
Qt: fixed result of TQtLineEdit.EventFilter(), no result in case LCLObject is nil.
git-svn-id: trunk@27378 -
This commit is contained in:
parent
74c55b5b4e
commit
f8823dc2ea
@ -6190,6 +6190,8 @@ end;
|
||||
function TQtLineEdit.EventFilter(Sender: QObjectH; Event: QEventH): Boolean;
|
||||
cdecl;
|
||||
begin
|
||||
Result := False;
|
||||
QEvent_accept(Event);
|
||||
if LCLObject = nil then
|
||||
exit;
|
||||
if (ChildOfComplexWidget = ccwComboBox) and
|
||||
|
Loading…
Reference in New Issue
Block a user