Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal datatype of tinia::model::gui::ComboBox #90

Open
jnygaard opened this issue Dec 2, 2013 · 1 comment
Open

Internal datatype of tinia::model::gui::ComboBox #90

jnygaard opened this issue Dec 2, 2013 · 1 comment

Comments

@jnygaard
Copy link
Contributor

jnygaard commented Dec 2, 2013

Problem: ComboBox entries appear in a different order in the GUI than what was specified in the code setting up the GUI element.

Possible solution: Maybe we should change this from Hash/Map/...? to some sort of list. Currently, the contents of the ComboBox in the GUI is listed in a seemingly random order. The order is consistent across rebuilds, but bears little resemblance to the order in which the elements were specified during construction. (It could be that the order is reflected in the way some internal tree is being built for the list entries.)

May also affect radiobuttons and similar GUI elements.

@kjetilly
Copy link
Member

kjetilly commented Dec 2, 2013

This is a fundamental issue relating to how RestrictionSet is stored in a restricted element(i.e. not in the GUI but in the ExposedModel). Should be simple to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants