TGtkListStoreStringList.Add returns wrong index when sorted
Original Reporter info from Mantis: kkp
-
Reporter name: Kim Pedersen
Original Reporter info from Mantis: kkp
- Reporter name: Kim Pedersen
Description:
TGtkListStoreStringList.Add does not return correct index when the list is sorted. It always returns the index of the last element (Which is true for an unsorted list). It affects AddObject and results in the object put in the wrong position.
Additional information:
FLastInsertedIndex should be implemented as in TWin32ListStringList.Add/Insert
Mantis conversion info:
- Mantis ID: 15356
- Version: 0.9.28.3 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 23347 (#56ade4e7)
- Target version: 1.0.0
- LazTarget: 1.0