Qt: pass key events from dropdown list to the lcl. part of issue #28553

git-svn-id: trunk@49824 -
This commit is contained in:
zeljko 2015-09-14 08:34:03 +00:00
parent 9f13f52fca
commit 300707437e

View File

@ -10726,7 +10726,7 @@ begin
if (FDropList <> nil) and (Sender = FDropList.Widget) then
begin
if QEvent_type(Event) = QEventFontChange then
if (Byte(QEvent_type(Event)) in [QEventKeyPress, QEventKeyRelease,QEventFontChange]) then
Result := inherited EventFilter(Sender, Event);
QEvent_ignore(Event);
exit;