#14800 closed defect (fixed)

EditableListBox doesnt retain associated data when OnItemUp and OnItemDown

Reported by: Chuddah Owned by:
Priority: high Milestone: 2.9.5
Component: GUI-generic Version: stable-latest
Keywords: EditableTextBox Data Cc:
Blocked By: Blocking:
Patch: yes

Description

EditableListBox doesnt retain associated data when OnItemUp and OnItemDown.

Patch describes this better than I can do in English.

Attachments (1)

EditableListBoxItemData.patch download (4.4 KB) - added by Chuddah 21 months ago.
Patch fix

Download all attachments as: .zip

Change History (2)

Changed 21 months ago by Chuddah

Patch fix

comment:1 Changed 21 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [72916]) Keep item data in sync with their position in wxEditableListBox.

When swapping the items, we also need to swap their client data and not just
their labels.

Closes #14800.

Note: See TracTickets for help on using tickets.