File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1585,6 +1585,7 @@ public void actionPerformed(ActionEvent actionevent) {
1585
1585
JMenuItem recentLabel = new JMenuItem (tr ("Recently used boards" ));
1586
1586
recentLabel .setEnabled (false );
1587
1587
boardMenu .add (recentLabel );
1588
+ boardMenu .add (new JSeparator ());
1588
1589
}
1589
1590
1590
1591
List <JMenu > platformMenus = new ArrayList <>();
@@ -1643,7 +1644,7 @@ public void actionPerformed(ActionEvent actionevent) {
1643
1644
// If there is no current board yet (first startup, or selected
1644
1645
// board no longer defined), select first available board.
1645
1646
if (_menuItemsToClickAfterStartup .isEmpty ()) {
1646
- _menuItemsToClickAfterStartup .add (selectFirstEnabledMenuItem ( boardMenu ))
1647
+ _menuItemsToClickAfterStartup .add (firstBoardItem );
1647
1648
}
1648
1649
1649
1650
for (JMenuItem menuItemToClick : _menuItemsToClickAfterStartup ) {
You can’t perform that action at this time.
0 commit comments