Skip to content

Avoid custom menus random order #7956

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

Merged
merged 1 commit into from
Sep 4, 2018

Conversation

facchinm
Copy link
Member

Fixes #7955

@facchinm facchinm added this to the Release 1.8.7 milestone Aug 31, 2018
@facchinm facchinm added feature request A request to make an enhancement (not a bug fix) Component: IDE user interface The Arduino IDE's user interface labels Aug 31, 2018
@arduino arduino deleted a comment from ArduinoBot Aug 31, 2018
@arduino arduino deleted a comment from ArduinoBot Aug 31, 2018
@cmaglie
Copy link
Member

cmaglie commented Sep 3, 2018

Maybe LinkedHashSet?

(source: https://stackoverflow.com/a/8185105/1655275)

@cmaglie
Copy link
Member

cmaglie commented Sep 3, 2018

LinkedHashSet seems to work as intended (preserve the order in the boards.txt), I'm updating the PR.

@cmaglie cmaglie force-pushed the deterministic_menu_order branch from 83eea77 to f89f90f Compare September 3, 2018 15:22
@arduino arduino deleted a comment from facchinm Sep 3, 2018
@arduino arduino deleted a comment from ArduinoBot Sep 3, 2018
@cmaglie cmaglie merged commit 3dfe859 into arduino:master Sep 4, 2018
@cmaglie cmaglie deleted the deterministic_menu_order branch September 4, 2018 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants