Merge pull request #2675 from PaulStoffregen/master

Update status bar when custom menus change
This commit is contained in:
Federico Fissore 2015-02-23 10:39:22 +01:00
commit 7211eb0156
1 changed files with 1 additions and 0 deletions

View File

@ -1187,6 +1187,7 @@ public class Base {
Action subAction = new AbstractAction(_(boardCustomMenu.get(customMenuOption))) {
public void actionPerformed(ActionEvent e) {
Preferences.set("custom_" + menuId, ((TargetBoard)getValue("board")).getId() + "_" + getValue("custom_menu_option"));
onBoardOrPortChange();
}
};
subAction.putValue("board", board);