From d29e9fa0b68cd1086fc125b67bd9b8f1bbf233cc Mon Sep 17 00:00:00 2001 From: zeljko Date: Tue, 8 Oct 2013 18:44:41 +0000 Subject: [PATCH] Qt: fixed regression in owner drawn combobox from rev.43135. issue #25172 git-svn-id: trunk@43180 - --- lcl/interfaces/qt/qtwidgets.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/qt/qtwidgets.pas b/lcl/interfaces/qt/qtwidgets.pas index 6864fc9bc5..a658efafef 100644 --- a/lcl/interfaces/qt/qtwidgets.pas +++ b/lcl/interfaces/qt/qtwidgets.pas @@ -11374,7 +11374,7 @@ var SkipDefault: Boolean; Item: QListWidgetItemH; begin - if ViewStyle >= 0 then + if (ViewStyle >= 0) and not (FChildOfComplexWidget = ccwComboBox) then begin State := QStyleOption_state(option); ACustomState := [cdsDefault];