The way CheckBoxMenuImplementation
keeps track of selected items is inappropriate
#140
Labels
Bug
Something isn't working
Describe the bug
The
CheckBoxMenuImplementation
keeps track of the selected items using a map (_selected_item_dict
), whose keys are the items themselves and assigned a boolean value (whether they're selected).This causes several issues:
True
/False
to every entry)Intuitively I'd say an array containing the “element identifier” (an integer incremented at every add, or a more elaborate hash) of all items marked as selected should be used instead.
The text was updated successfully, but these errors were encountered: