mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 21:59:15 +02:00
Qt: pass key events from dropdown list to the lcl. part of issue #28553
git-svn-id: trunk@49824 -
This commit is contained in:
parent
9f13f52fca
commit
300707437e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user