Qt: fixed regression in owner drawn combobox from rev.43135. issue #25172

git-svn-id: trunk@43180 -
This commit is contained in:
zeljko 2013-10-08 18:44:41 +00:00
parent 786941f5aa
commit d29e9fa0b6

View File

@ -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];