mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 10:39:20 +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
|
if (FDropList <> nil) and (Sender = FDropList.Widget) then
|
||||||
begin
|
begin
|
||||||
if QEvent_type(Event) = QEventFontChange then
|
if (Byte(QEvent_type(Event)) in [QEventKeyPress, QEventKeyRelease,QEventFontChange]) then
|
||||||
Result := inherited EventFilter(Sender, Event);
|
Result := inherited EventFilter(Sender, Event);
|
||||||
QEvent_ignore(Event);
|
QEvent_ignore(Event);
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user