Skip to content

Commit 506ebd8

Browse files
committed
add scroller for serial port list menu
Fixes #6397
1 parent cd798ab commit 506ebd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/processing/app/Editor.java

+3
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,9 @@ public int compare(BoardPort o1, BoardPort o2) {
11081108
}
11091109

11101110
portMenu.setEnabled(portMenu.getMenuComponentCount() > 0);
1111+
if (portMenu.getMenuComponentCount() > 0) {
1112+
MenuScroller.setScrollerFor(portMenu);
1113+
}
11111114
}
11121115

11131116

0 commit comments

Comments
 (0)