Qt,Qt5: fixed font changing of TComboBox editor. issue #39539

This commit is contained in:
Željan Rikalo 2022-01-13 16:27:47 +01:00
parent 1e405b000c
commit 53cda894a2
2 changed files with 6 additions and 0 deletions

View File

@ -9489,6 +9489,9 @@ begin
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventMove) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventFontChange) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and
((QEvent_type(Event) = QEventPaint) or (QEvent_type(Event) = QEventResize))
and (LCLObject.HandleAllocated) then

View File

@ -9565,6 +9565,9 @@ begin
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventMove) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventFontChange) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and
((QEvent_type(Event) = QEventPaint) or (QEvent_type(Event) = QEventResize))
and (LCLObject.HandleAllocated) then