mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 18:17:18 +02:00
Qt: fixed wrong resize event from lineedit of combobox.issue #26040
git-svn-id: trunk@44765 -
This commit is contained in:
parent
fb748dcef7
commit
9e98a99cc7
@ -8431,7 +8431,13 @@ begin
|
||||
if Result then
|
||||
QEvent_ignore(Event)
|
||||
else
|
||||
Result:=inherited EventFilter(Sender, Event);
|
||||
begin
|
||||
// issue #26040
|
||||
if (QEvent_type(Event) = QEventResize) then
|
||||
LCLObject.DoAdjustClientRectChange
|
||||
else
|
||||
Result:=inherited EventFilter(Sender, Event);
|
||||
end;
|
||||
end else
|
||||
Result:=inherited EventFilter(Sender, Event);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user