We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3b340 commit 922eedfCopy full SHA for 922eedf
app/src/processing/app/Editor.java
@@ -761,6 +761,7 @@ public void actionPerformed(ActionEvent e) {
761
portMenu = new JMenu(tr("Port"));
762
populatePortMenu();
763
toolsMenu.add(portMenu);
764
+ MenuScroller.setScrollerFor(portMenu);
765
item = new JMenuItem(tr("Get Board Info"));
766
item.addActionListener(e -> handleBoardInfo());
767
toolsMenu.add(item);
@@ -1108,9 +1109,6 @@ public int compare(BoardPort o1, BoardPort o2) {
1108
1109
}
1110
1111
portMenu.setEnabled(portMenu.getMenuComponentCount() > 0);
- if (portMenu.getMenuComponentCount() > 0) {
1112
- MenuScroller.setScrollerFor(portMenu);
1113
- }
1114
1115
1116
0 commit comments