QT: CheckListBox OnItemClick is called when adding items and when changing item caption
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
See the attached demo.
OnItemClick is called twice for each added item.
Changing the item caption like this
clb.Items[Index] := 'Select';
inside OnItemClick creates a recursive loop and leads to stack overflow.
The same features work well in GTK2 and Windows bindings.
Mantis conversion info:
- Mantis ID: 20927
- Version: 0.9.31 (SVN)
- Fixed in revision: 34254 (#97b7e5c8)