From ffa13ed733204c709aa96340ec3f5f4b94b994a7 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Thu, 7 Sep 2017 12:19:59 +0200 Subject: [PATCH] Keep "Board Manager" entry always on top of its menu --- app/src/processing/app/Base.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 073c4cbba..31d4ca31d 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -1404,7 +1404,7 @@ public class Base { // The first custom menu is the "Board" selection submenu JMenu boardMenu = new JMenu(tr("Board")); boardMenu.putClientProperty("removeOnWindowDeactivation", true); - MenuScroller.setScrollerFor(boardMenu); + MenuScroller.setScrollerFor(boardMenu).setTopFixedCount(1); boardMenu.add(new JMenuItem(new AbstractAction(tr("Boards Manager...")) { public void actionPerformed(ActionEvent actionevent) {