1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

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

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);