Keep "Board Manager" entry always on top of its menu

This commit is contained in:
Martino Facchin 2017-09-07 12:19:59 +02:00
parent f0e5bab51c
commit ffa13ed733
1 changed files with 1 additions and 1 deletions

View File

@ -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) {