Skip to content

Commit abbd402

Browse files
committedApr 7, 2020
[RecentlyUsedBoards] Fix merge conflicts
1 parent 917b132 commit abbd402

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎app/src/processing/app/Base.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)
Please sign in to comment.