Qt: set editable for TQtComboBox while creating handle. fixes #16727

git-svn-id: trunk@26384 -
This commit is contained in:
zeljko 2010-07-01 11:24:55 +00:00
parent d8cca3c0ce
commit 6340023f32

View File

@ -1173,6 +1173,7 @@ begin
// create our FList helper
QtComboBox.FList := TQtComboStrings.Create(AWinControl, QtComboBox);
QtComboBox.setMaxVisibleItems(TCustomComboBox(AWinControl).DropDownCount);
QtComboBox.setEditable(TCustomComboBox(AWinControl).Style = csDropDown);
Result := TLCLIntfHandle(QtComboBox);
end;