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) {
15851585 JMenuItem recentLabel = new JMenuItem (tr ("Recently used boards" ));
15861586 recentLabel .setEnabled (false );
15871587 boardMenu .add (recentLabel );
1588+ boardMenu .add (new JSeparator ());
15881589 }
15891590
15901591 List <JMenu > platformMenus = new ArrayList <>();
@@ -1643,7 +1644,7 @@ public void actionPerformed(ActionEvent actionevent) {
16431644 // If there is no current board yet (first startup, or selected
16441645 // board no longer defined), select first available board.
16451646 if (_menuItemsToClickAfterStartup .isEmpty ()) {
1646- _menuItemsToClickAfterStartup .add (selectFirstEnabledMenuItem ( boardMenu ))
1647+ _menuItemsToClickAfterStartup .add (firstBoardItem );
16471648 }
16481649
16491650 for (JMenuItem menuItemToClick : _menuItemsToClickAfterStartup ) {
You can’t perform that action at this time.
0 commit comments