Uncommented component preset editor menu item, but protected it with a system property: -Dopenrocket.preseteditor.menu if present, the editor will be on the menu.

This commit is contained in:
Doug Pedrick 2012-09-26 18:09:12 +00:00
parent 391d02dc66
commit 93bfce7f70

View File

@ -618,7 +618,8 @@ public class BasicFrame extends JFrame {
menu.add(item);
//// Edit Component Preset File
/*
if (System.getProperty("openrocket.preseteditor.menu") != null) {
item = new JMenuItem(trans.get("main.menu.edit.editpreset"));
item.addActionListener( new ActionListener() {
@Override
@ -631,7 +632,7 @@ public class BasicFrame extends JFrame {
}
});
menu.add(item);
*/
}
//// Analyze
menu = new JMenu(trans.get("main.menu.analyze"));