Skip to content

Commit e00b6d9

Browse files
Sort board submenus alphabetically
This sorts the board submenus themselves, based on the displayed name. This does not change the ordering of board items within these submenus (which uses the order from boards.txt).
1 parent f1cb18b commit e00b6d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: app/src/processing/app/Base.java

+2
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,8 @@ public void actionPerformed(ActionEvent actionevent) {
14971497
}
14981498
}
14991499

1500+
Collections.sort(platformMenus, new JMenuItemTextComparator());
1501+
15001502
JMenuItem firstBoardItem = null;
15011503
if (platformMenus.size() == 1) {
15021504
// When just one platform exists, add the board items directly,

0 commit comments

Comments
 (0)