Skip to content

Commit ffa13ed

Browse files
committed
Keep "Board Manager" entry always on top of its menu
1 parent f0e5bab commit ffa13ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ public void rebuildBoardsMenu() throws Exception {
14041404
// The first custom menu is the "Board" selection submenu
14051405
JMenu boardMenu = new JMenu(tr("Board"));
14061406
boardMenu.putClientProperty("removeOnWindowDeactivation", true);
1407-
MenuScroller.setScrollerFor(boardMenu);
1407+
MenuScroller.setScrollerFor(boardMenu).setTopFixedCount(1);
14081408

14091409
boardMenu.add(new JMenuItem(new AbstractAction(tr("Boards Manager...")) {
14101410
public void actionPerformed(ActionEvent actionevent) {

0 commit comments

Comments
 (0)