Skip to content

Commit

Permalink
[RecentlyUsedBoards] Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Apr 7, 2020
1 parent 917b132 commit abbd402
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,7 @@ public void actionPerformed(ActionEvent actionevent) {
JMenuItem recentLabel = new JMenuItem(tr("Recently used boards"));
recentLabel.setEnabled(false);
boardMenu.add(recentLabel);
boardMenu.add(new JSeparator());
}

List<JMenu> platformMenus = new ArrayList<>();
Expand Down Expand Up @@ -1643,7 +1644,7 @@ public void actionPerformed(ActionEvent actionevent) {
// If there is no current board yet (first startup, or selected
// board no longer defined), select first available board.
if (_menuItemsToClickAfterStartup.isEmpty()) {
_menuItemsToClickAfterStartup.add(selectFirstEnabledMenuItem(boardMenu))
_menuItemsToClickAfterStartup.add(firstBoardItem);
}

for (JMenuItem menuItemToClick : _menuItemsToClickAfterStartup) {
Expand Down

0 comments on commit abbd402

Please sign in to comment.