Qt: fixed result of TQtLineEdit.EventFilter(), no result in case LCLObject is nil.

git-svn-id: trunk@27378 -
This commit is contained in:
zeljko 2010-09-16 06:22:22 +00:00
parent 74c55b5b4e
commit f8823dc2ea

View File

@ -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