Wrong TComboBox.ItemIndex in EditingDone when list has duplicates
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
Look at the attached example.
Select 'eee'
Try to select the third option (the second 'xxx')
Index will be 0 instead of 2
This occurs because of the call to UpdateComboBoxText in win32 widgetset
This propagate into TCustomComboBox.RealSetText that updates the itemindex using the index of the first appearance of 'xxx'
Mantis conversion info:
- Mantis ID: 20846
- Fixed in revision: 34053 (#4361a67b)