mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:41:01 +02:00
Qt: set editable for TQtComboBox while creating handle. fixes #16727
git-svn-id: trunk@26384 -
This commit is contained in:
parent
d8cca3c0ce
commit
6340023f32
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user